diff options
-rwxr-xr-x | scripts/build/chroot_firmware | 2 | ||||
-rwxr-xr-x | scripts/build/installer_debian-installer | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/chroot_firmware b/scripts/build/chroot_firmware index 1070ccbae..e644a5584 100755 --- a/scripts/build/chroot_firmware +++ b/scripts/build/chroot_firmware @@ -107,6 +107,8 @@ then FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} $(awk '/^lib\/firmware/ { print $2 }' "${CONTENTS_FILE}" | sort -u)" fi +rm -f "${CONTENTS_FILE}" + # Drop section and keep package names only for _PACKAGE in ${FIRMWARE_PACKAGES} do diff --git a/scripts/build/installer_debian-installer b/scripts/build/installer_debian-installer index b4802b3f9..dcfd1792b 100755 --- a/scripts/build/installer_debian-installer +++ b/scripts/build/installer_debian-installer @@ -395,6 +395,8 @@ then FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} $(awk '/^lib\/firmware/ { print $2 }' "${CONTENTS_FILE}" | sort -u)" fi + rm -f "${CONTENTS_FILE}" + # Drop section and keep package names only for _PACKAGE in ${FIRMWARE_PACKAGES} do |