[SCM] debian-live branch, master, updated. 1.0.0-2-8-gb5e7d2c

Daniel Baumann daniel at debian.org
Wed Sep 3 20:10:29 UTC 2008


The following commit has been merged in the master branch:
commit b5e7d2ce810dcc13e6f7d04a03f163a011baddc4
Author: Daniel Baumann <daniel at debian.org>
Date:   Wed Sep 3 21:56:56 2008 +0200

    Fixing a chicken-egg problem with package indices when using minimal/stripped list *and* including local-packages.

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
 

-- 
debian-live



More information about the debian-live-changes mailing list