summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-09-29 20:15:22 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:42 +0100
commit817f3f8cf60fd7d5449106688a5bf8111e1294a0 (patch)
treed33f7df8791ba154a1583c4e1cf5c2eab8ab575d /helpers
parent4718372f13b011b51514e8a4c6fbf92460572a3f (diff)
downloadlive-build-817f3f8cf60fd7d5449106688a5bf8111e1294a0.zip
live-build-817f3f8cf60fd7d5449106688a5bf8111e1294a0.tar.gz
Improving indices workaround by checking LH_BOOTSTRAP_FLAVOUR rather than LH_PACKAGES_LISTS in order to handle chicken-egg problem for installing apt-utils when having bootstrapped a minimal chroot.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_chroot_sources2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index 7ff87ac..c3da627 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -106,7 +106,7 @@ case "${1}" in
# If we bootstrapped a minimal chroot, we need
# to install apt-utils before we have have
# completed all the indices.
- case "${LH_PACKAGES_LISTS}" in
+ case "${LH_BOOTSTRAP_FLAVOUR}" in
stripped|minimal)
Chroot "apt-get update"
;;