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

Bug#490755: live-helper: correctness problems with package selection

James Crofts wrote:

> I performed the following series of non-interactive builds; in each case 
> "lh_clean --purge" was run before beginning the next build:

First, thanks for your detailed bug report.

> * LH_PACKAGES_LISTS="minimal cryptonas", LH_APT_SECURE="disabled" ==> 
> ~139MB image, incorrect set of packages (for example, subversion was still
> present)

The problem is that live-helper expands *all* package lists in
config/chroot_local-packageslists, regardless of whether they are specified
in the LH_PACKAGES_LISTS variable or not.

This why when you did:

  > At this point, I renamed 
  > config/chroot_local-packageslists/cryptonas-devel to cnas-devel.bkp, ran
  > lh_clean --purge, and built again

.. it worked, as the "cryptonas-devel" list wasn't around to be expanded.

Now, this may still be a bug - to be able to build images with slightly
different contents like this is quite a compelling use-case, and the
LH_PACKAGES_LISTS variable is hardly intuitive with the current behaviour.

(Daniel, any objections to removing helpers/lh_chroot_local-packageslists?
The Expand_packagelist code sources the local packageslist drectory already.)


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/20080715/7e57c8c6/attachment.pgp 

Reply to: