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.
This commit is contained in:
parent
4718372f13
commit
817f3f8cf6
|
@ -106,7 +106,7 @@ case "${1}" in
|
||||||
# If we bootstrapped a minimal chroot, we need
|
# If we bootstrapped a minimal chroot, we need
|
||||||
# to install apt-utils before we have have
|
# to install apt-utils before we have have
|
||||||
# completed all the indices.
|
# completed all the indices.
|
||||||
case "${LH_PACKAGES_LISTS}" in
|
case "${LH_BOOTSTRAP_FLAVOUR}" in
|
||||||
stripped|minimal)
|
stripped|minimal)
|
||||||
Chroot "apt-get update"
|
Chroot "apt-get update"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue