summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_chroot7
1 files changed, 6 insertions, 1 deletions
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 ${*}