summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-06-11 19:18:15 +0200
committerDaniel Baumann <daniel@debian.org>2011-06-11 19:18:15 +0200
commit48e2af1ab9aebb974b718568f6c3060cfeb72cee (patch)
treeb44c486fa873c531c3763e39f945c2fdb92fb796
parent5fa597a92d929fa21313cc64b7b127d98d84acaf (diff)
downloadvyos-live-build-48e2af1ab9aebb974b718568f6c3060cfeb72cee.tar.gz
vyos-live-build-48e2af1ab9aebb974b718568f6c3060cfeb72cee.zip
Obtaining the live passes package selection information at the latest point to catch all other modifications in the package selection.
-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 ${*}