From 48e2af1ab9aebb974b718568f6c3060cfeb72cee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 11 Jun 2011 19:18:15 +0200 Subject: Obtaining the live passes package selection information at the latest point to catch all other modifications in the package selection. --- scripts/build/lb_chroot | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build/lb_chroot b/scripts/build/lb_chroot index eb4781dc0..aeb3629c5 100755 --- a/scripts/build/lb_chroot +++ b/scripts/build/lb_chroot @@ -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 ${*} -- cgit v1.2.3