From e1ed7f2202c14347e2eb334f282e7c1c0409799e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 14:05:14 +0200 Subject: Adding local udeb_exclude file functionality. --- helpers/lh_binary_debian-installer | 6 ++++++ helpers/lh_config | 1 + 2 files changed, 7 insertions(+) mode change 100755 => 100644 helpers/lh_config diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 919ea3a..19d084a 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -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 diff --git a/helpers/lh_config b/helpers/lh_config old mode 100755 new mode 100644 index 9c9d11b..d80dd9d --- a/helpers/lh_config +++ b/helpers/lh_config @@ -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 -- cgit v1.0