diff options
author | Daniel Baumann <daniel@debian.org> | 2011-06-11 19:18:15 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-06-11 19:18:15 +0200 |
commit | 48e2af1ab9aebb974b718568f6c3060cfeb72cee (patch) | |
tree | b44c486fa873c531c3763e39f945c2fdb92fb796 /scripts | |
parent | 5fa597a92d929fa21313cc64b7b127d98d84acaf (diff) | |
download | vyos-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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/lb_chroot | 7 |
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 ${*} |