firmwarelists.sh: Account for usrmerged firmware packages.

This commit is contained in:
Unit 193 2023-12-22 00:04:31 +00:00 committed by Luca Boccassi
parent 35defd5bb2
commit e9dd83edf8
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ Firmware_List_From_Contents () {
fi
local PACKAGES
PACKAGES="$(gunzip -c "${CONTENTS_FILE}" | awk '/^lib\/firmware/ { print $2 }' | sort -u )"
PACKAGES="$(gunzip -c "${CONTENTS_FILE}" | awk '/^(usr\/)?lib\/firmware/ { print $2 }' | sort -u )"
FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} ${PACKAGES}"
# Don't waste disk space, if not making use of caching