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

Bug#776013: live-build: archive configuration issues



Package: live-build
Version: 4.0.4-1

Creating this bug to have a written record and bug number for this
problem area.

The chroot_archives script, which is used in toggling the chroot between
'chroot' (build) and 'binary' (live) apt archive configuration, does an
imperfect job in toggling between these two states.

The biggest issue is covered by bug #775989, where in 'remove' mode, a
lot of things are skipped that shouldn't be skipped should the chroot
and binary mirrors be the same.

A secondary smaller issue, covered by bug #775991 is the
chroot/root/packages.chroot file not getting deleted and making it into
the final image. Though this bug only surfaced when the installer stage
was split out of the binary stage in version 4.x.

Remaining unsolved issues include:
 - Apply mode does not remove user supplied binary sources.list.d,
apt.conf.d, and preferences.d files. It is necessary that it does so
because chroot gets toggled back and forth between chroot and binary
modes through the various build stages, and as it is, when apt is run in
'chroot' mode, it may incorrectly run with binary configuration
influencing it, which could in some setups cause problems.
 - User supplied keyring files installed in apply (chroot) mode are not
removed in remove (binary) mode. Thus these keys will remain installed
in the live image when they shouldn't.


Reply to: