summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_archives
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-07-29 00:24:11 +0200
committerDaniel Baumann <daniel@debian.org>2012-07-29 00:29:23 +0200
commit81fb4294538a7204232d3e76195a778df0ee3ee1 (patch)
tree1c22dfb0462ff99bf62e188a92e193bbf4f35e60 /scripts/build/lb_chroot_archives
parente81b1c6f7a5c43537d5f5288c24df3faddbe2899 (diff)
downloadvyos-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-xscripts/build/lb_chroot_archives9
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