The local LIVE_BUILD wins over the system live-build for the list of udeb exclusions

This commit is contained in:
Roland Clobus 2021-02-06 10:53:44 +01:00
parent 01dc99e528
commit c9cf409e83
No known key found for this signature in database
GPG Key ID: 62C57C6AA61495BD
1 changed files with 2 additions and 2 deletions

View File

@ -615,9 +615,9 @@ EOF
Echo_debug "Generating exclude list"
# Excluding udebs
for LOCATION in "${LIVE_BUILD}/data/debian-cd" /usr/share/live/build/data/debian-cd
for LOCATION in /usr/share/live/build/data/debian-cd "${LIVE_BUILD}/data/debian-cd"
do
if [ -e "${LOCATION}" ]
if [ -e "${LOCATION}/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}" ]
then
grep -v "^#" "${LOCATION}/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/udeb_exclude" > exclude || true
grep -v "^#" "${LOCATION}/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/exclude-udebs" >> exclude || true