diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:05:14 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:05:14 +0200 |
commit | 4b52adb6f77b855ac9e6f63de187ae6ecba3602e (patch) | |
tree | 0ae5fba714e5f4b0891cec9ee83a1300ada444d6 | |
parent | fbae06c4262ee01d22af51b9720470a87a1e571b (diff) | |
download | vyos-live-build-4b52adb6f77b855ac9e6f63de187ae6ecba3602e.tar.gz vyos-live-build-4b52adb6f77b855ac9e6f63de187ae6ecba3602e.zip |
Adding local udeb_exclude file functionality.
-rwxr-xr-x | helpers/lh_binary_debian-installer | 6 | ||||
-rw-r--r--[-rwxr-xr-x] | helpers/lh_config | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 919ea3a3e..19d084abe 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 index 9c9d11b5a..d80dd9dc1 100755..100644 --- 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 |