[SCM] Debian Live build scripts branch, master, updated. 1.0.3-2-55-gef34dd4

Chris Lamb lamby at debian.org
Sat May 9 21:44:27 UTC 2009


The following commit has been merged in the master branch:
commit ef34dd4ae9537263ec7cdf257204e88b3b6eb2f5
Author: Chris Lamb <lamby at debian.org>
Date:   Sat May 9 22:36:30 2009 +0100

    Print a warning if you are using "stripped" or "minimal" but you have set LH_BINARY_INCICES="enabled" (Closes: #527974)
    
    This is mostly for people new to 1.0.4 with old configs.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>

diff --git a/functions/defaults.sh b/functions/defaults.sh
index 8ad360f..c87811c 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1057,4 +1057,13 @@ Check_defaults ()
 	then
 		Echo_warning "You have specified a value of LH_ISO_VOLUME that is too long; the maximum length is 32 characters."
 	fi
+
+	if echo ${LH_PACKAGES_LISTS} | grep -qs -E "(stripped|minimal)\b"
+	then
+		if [ "${LH_BINARY_INDICES}" = "enabled" ]
+		then
+			Echo_warning "You have selected hook to minimise image size but you are still including package indices with your value of LH_BINARY_INDICES."
+		fi
+	fi
+
 }

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list