diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-08-17 07:06:13 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:40 +0100 |
commit | a12a4b71fbb63126045cdc89781c0b8e2cbddbb0 (patch) | |
tree | 013f7e04384303e07fa420a689655184c6985fc7 /helpers | |
parent | b6a9ccaa08747b5da4288c0cd29694b5aa70dac2 (diff) | |
download | vyos-live-build-a12a4b71fbb63126045cdc89781c0b8e2cbddbb0.tar.gz vyos-live-build-a12a4b71fbb63126045cdc89781c0b8e2cbddbb0.zip |
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-x | helpers/lh_binary_debian-installer | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index cd6f2f6cb..b352a2a47 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" ] |