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
|
cat ../config/binary_debian-installer/udeb_exclude >> exclude
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for EXCLUDE in $(cat exclude)
|
while read EXCLUDE
|
||||||
do
|
do
|
||||||
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${EXCLUDE}" = "live-installer" ]
|
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${EXCLUDE}" = "live-installer" ]
|
||||||
then
|
then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f "${EXCLUDE}"_*.udeb
|
rm -f ${EXCLUDE}_*.udeb
|
||||||
done
|
done < exclude
|
||||||
|
|
||||||
# Enable live-installer
|
# Enable live-installer
|
||||||
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${LH_DEBIAN_INSTALLER_DISTRIBUTION}" != "etch" ]
|
if [ "${LH_DEBIAN_INSTALLER}" = "live" ] && [ "${LH_DEBIAN_INSTALLER_DISTRIBUTION}" != "etch" ]
|
||||||
|
|
Loading…
Reference in New Issue