summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_archives
diff options
context:
space:
mode:
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