diff options
author | Daniel Baumann <daniel@debian.org> | 2012-07-29 00:24:11 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-07-29 00:29:23 +0200 |
commit | 81fb4294538a7204232d3e76195a778df0ee3ee1 (patch) | |
tree | 1c22dfb0462ff99bf62e188a92e193bbf4f35e60 /scripts/build/lb_chroot_archives | |
parent | e81b1c6f7a5c43537d5f5288c24df3faddbe2899 (diff) | |
download | vyos-live-build-81fb4294538a7204232d3e76195a778df0ee3ee1.tar.gz vyos-live-build-81fb4294538a7204232d3e76195a778df0ee3ee1.zip |
Dropping global package-lists entirely, only local package lists within the config tree are support.
Diffstat (limited to 'scripts/build/lb_chroot_archives')
-rwxr-xr-x | scripts/build/lb_chroot_archives | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/build/lb_chroot_archives b/scripts/build/lb_chroot_archives index 220f8abe6..6cdc5409f 100755 --- a/scripts/build/lb_chroot_archives +++ b/scripts/build/lb_chroot_archives @@ -342,11 +342,10 @@ EOF # If we bootstrapped a minimal chroot, we need # to install apt-utils before we have have # completed all the indices. - case "${LB_PACKAGE_LISTS}" in - stripped|minimal) - Apt chroot update - ;; - esac + if [ "${LB_BOOTSTRAP_FLAVOUR}" != "standard" ] + then + Apt chroot update + fi # Check depends Check_package chroot/usr/bin/apt-ftparchive apt-utils |