summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_chroot_sources9
1 files changed, 9 insertions, 0 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index 24fe495..f7c4238 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -103,6 +103,15 @@ case "${1}" in
if Find_files chroot/root/local-packages/*.deb
then
+ # 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
+ stripped|minimal)
+ Chroot "apt-get update"
+ ;;
+ esac
+
# Restoring cache
Restore_cache cache/packages_chroot