Obtaining the live passes package selection information at the latest point to catch all other modifications in the package selection.

This commit is contained in:
Daniel Baumann 2011-06-11 19:18:15 +02:00
parent 5fa597a92d
commit 48e2af1ab9
1 changed files with 6 additions and 1 deletions

View File

@ -64,7 +64,10 @@ do
lb chroot_install-packages ${_PASS} ${*}
lb chroot_local-tasklists ${_PASS} ${*}
Chroot chroot "dpkg-query -W" > binary.packages.${_PASS}
if [ "${_PASS}" = install ]
then
Chroot chroot "dpkg-query -W" > binary.packages.install
fi
done
lb chroot_local-includes ${*}
@ -73,6 +76,8 @@ lb chroot_local-hooks ${*}
lb chroot_hacks ${*}
lb chroot_interactive ${*}
Chroot chroot "dpkg-query -W" > binary.packages.live
# Deconfiguring chroot
lb chroot_sources remove ${*}
lb chroot_apt remove ${*}