[SCM] debian-live branch, master, updated. 1.0_a48-1-24-g15ee6f0

Chris Lamb chris at chris-lamb.co.uk
Thu Aug 7 19:21:52 UTC 2008


The following commit has been merged in the master branch:
commit 1376d237dcb3f54b3d9f3f27f1e251704086717c
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date:   Thu Aug 7 20:06:39 2008 +0100

    Print a warning when package caching is disabled but d-i integration is enabled.
    
    Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>

diff --git a/functions/defaults.sh b/functions/defaults.sh
index 4bf3f74..b8be125 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -686,4 +686,15 @@ Check_defaults ()
 			Echo_warning "used in the stripped/minimal package lists."
 		fi
 	fi
+
+	if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ]
+	then
+		if ! echo ${LH_CACHE_STAGES} | grep -qs "bootstrap\b" || [ "${LH_CACHE}" != "enabled" ] || [ "${LH_CACHE_PACKAGES}" != "enabled" ]
+		then
+			Echo_warning "You have selected values of LH_CACHE, LH_CACHE_PACKAGES, LH_CACHE_STAGES and"
+			Echo_warning "LH_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being"
+			Echo_warning "cached. This is a possible unsafe configuration as the bootstrap packages"
+			Echo_warning "are re-used when integrating the Debian Installer."
+		fi
+	fi
 }

-- 
debian-live



More information about the debian-live-changes mailing list