Fixed: select the package name for firmware packages
When the firmware package contains file names with spaces (e.g. firmware-brcm80211, 20240610-1), pick the correct column for the package section
This commit is contained in:
parent
f2e750e6f7
commit
22c48e92be
|
@ -50,7 +50,7 @@ Firmware_List_From_Contents () {
|
|||
fi
|
||||
|
||||
local PACKAGES
|
||||
PACKAGES="$(gunzip -c "${CONTENTS_FILE}" | awk '/^(usr\/)?lib\/firmware/ { print $2 }' | sort -u )"
|
||||
PACKAGES="$(gunzip -c "${CONTENTS_FILE}" | awk '/^(usr\/)?lib\/firmware/ { print $NF }' | sort -u )"
|
||||
FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} ${PACKAGES}"
|
||||
|
||||
# Don't waste disk space, if not making use of caching
|
||||
|
|
Loading…
Reference in New Issue