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. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
4a1a00e1d4
commit
d4f92859a1
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue