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.)
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
GPG: 0x634F9A20
signature.asc
Description: PGP signature
_______________________________________________ debian-live-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

