[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#494640: live-helper: Doesn't follow APT_RECOMMENDS settings in lh_chroot_sources



Hi Jeremy/Otavio,

> Jeremy <jeremybubs at gmail.com> writes:
> 
> > I am just curious as to the idea of a 'tainted image'.  It seems to
> > me that it would not allow a user to customize their image.

Well, hmm. So to expand on what I mentioned in my previous email, there is a
slight distinction in that whilst there *is* an option to enable/disable the
installation of recommended packages, it only applies to the chroot (ie.
image building) stages.

This means that the installation of "bash" with APT_RECOMMENDS="disabled"
will *not* install bash-completion and is thus not included on your ISO
image. (You'll need the Git version to see this though)

However, the binary image (eg. your finished ISO) will not have the "don't
install recommends" apt stanza.

This is problematic because when "apt-get dist-upgrade" is called it will
install all the recommended packages that match the currently installed
packages, ie. "bash-completion" and friends. This especially sucks because a
number of users are running dist-upgrade on startup to pull in security
updates.

Otavio Salvador wrote:

> Yes, your concept is right and I fully agree with the not
> installation of recommends by default. 

Huh? I think I'm missing something here.. we are not discussing whether
recommends should be installed by default, but whether the binary image
should respect a customisation of that setting.

(The default setting of APT_LH_RECOMMENDS is a totally different topic, and
Jeremy is not asking for this to be changed here.)

> > Does everything have to be the default debian setting?
[..]
> > If the default setting for LH_APT_RECOMMENDS is enabled then wouldn't
> > that be consistent with a normal debian install?

No, and I agree with you. Whilst there is some effort to ensure that an
image generated with the /default/ settings of live-helper matches Debian as
much as possible, this shouldn't mean that users cannot customise stuff.

So yes, I think that the binary image should inherit the APT_RECOMMENDS
setting. I will commit that later this evening unless Daniel shouts at me
otherwise.


Regards,

-- 
Chris Lamb, UK                                       chris at chris-lamb.co.uk
                                                            GPG: 0x634F9A20
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20080813/561f1e71/attachment.pgp 


Reply to: