Adding local udeb_exclude file functionality.

This commit is contained in:
Daniel Baumann 2007-09-23 14:05:14 +02:00
parent fbae06c426
commit 4b52adb6f7
2 changed files with 7 additions and 0 deletions

View File

@ -362,6 +362,12 @@ grep -v "^#" "${LH_BASE}"/data/debian-cd/"${LH_DISTRIBUTION}"/udeb_exclude > exc
grep -v "^#" "${LH_BASE}"/data/debian-cd/"${LH_DISTRIBUTION}"/exclude-udebs >> exclude
grep -v "^#" "${LH_BASE}"/data/debian-cd/"${LH_DISTRIBUTION}"/exclude-udebs-${LH_ARCHITECTURE} >> exclude
# Local exclude file
if [ -e ../config/binary_debian-installer/udeb_exclude ]
then
cat ../config/binary_debian-installer/udeb_exclude >> exclude
fi
for EXCLUDE in `cat exclude`
do
rm -f "${EXCLUDE}"_*.udeb

1
helpers/lh_config Executable file → Normal file
View File

@ -823,6 +823,7 @@ LH_SYSVINIT="${LH_SYSVINIT}"
EOF
# Creating lh_binary_* configuration
mkdir -p config/binary_debian-installer
mkdir -p config/binary_grub
mkdir -p config/binary_local-debs
mkdir -p config/binary_local-hooks