From 9a8304d03b6b8e006b9e6187eb47199b1f2cab96 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 13 Feb 2009 10:17:29 +0100 Subject: Adding new setting for binary indices: If set to none, no indices are included at all. --- functions/defaults.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'functions') diff --git a/functions/defaults.sh b/functions/defaults.sh index dc2c5a191..c01e7ba9d 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -557,7 +557,12 @@ Set_defaults () LH_BINARY_IMAGES="${LH_BINARY_IMAGES:-iso}" # Setting apt indices - LH_BINARY_INDICES="${LH_BINARY_INDICES:-enabled}" + if echo ${LH_PACKAGES_LISTS} | grep -qs -E "(stripped|minimal)\b" + then + LH_BINARY_INDICES="${LH_BINARY_INDICES:-none}" + else + LH_BINARY_INDICES="${LH_BINARY_INDICES:-enabled}" + fi # Setting bootloader if [ -z "${LH_BOOTLOADER}" ] -- cgit v1.2.3