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

Bug#774336: Incorrect binary_package-lists dependency checks



Package: live-build
Version: 4.0.4-1

The binary_package-lists script on lines 56-82 has a flexible dependency
check for the apt-ftparchive and grep-aptavail utilities, applying a
different check whether configured to work within chroot or not.

However, all work in the script is actually done from the host level,
making chroot checking not only pointless but broken. Digging through
the git log, the host check flexibility was added in version 3.0_a61-1,
but the chroot check was left in place.

--
Just for the record, because this confused me for a moment and could
easily confuse others, so I'll leave a comment here: the grep-aptavail
utility isn't actually used in this script, which led me to think it
should be removed, but then I remembered that the share/bin/Packages
script can come into play here, and that uses it. This wasn't explained
in the git entry that added the dependency; perhaps a comment in the
code would help.


Reply to: