summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-17 07:06:13 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:40 +0100
commita12a4b71fbb63126045cdc89781c0b8e2cbddbb0 (patch)
tree013f7e04384303e07fa420a689655184c6985fc7 /helpers
parentb6a9ccaa08747b5da4288c0cd29694b5aa70dac2 (diff)
downloadlive-build-a12a4b71fbb63126045cdc89781c0b8e2cbddbb0.zip
live-build-a12a4b71fbb63126045cdc89781c0b8e2cbddbb0.tar.gz
Support expanding wildcards in udeb excludes.
This was preventing "kernel-image-*" "exclude" entries from removing these packages. This saves about 5 MiB of space in all.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_debian-installer6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index cd6f2f6..b352a2a 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -567,15 +567,15 @@ then
cat ../config/binary_debian-installer/udeb_exclude >> exclude
fi
- for EXCLUDE in $(cat exclude)
+ while read EXCLUDE
do
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${EXCLUDE}" = "live-installer" ]
then
continue
fi
- rm -f "${EXCLUDE}"_*.udeb
- done
+ rm -f ${EXCLUDE}_*.udeb
+ done < exclude
# Enable live-installer
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${LH_DEBIAN_INSTALLER_DISTRIBUTION}" != "etch" ]