Skip to content

Commit f7f5b17

Browse files
committed
Kernel: T9170: support compressed modules when searching module firmware
Commit 21c7e66 ("Kernel: T5641: enable module compression to save disk space") which enabled module compression using XZ missed that when we search modules for firmware inclusion, the pattern was hardcoded to *.ko instead of *.ko* - this has been fixed.
1 parent 0f03d0a commit f7f5b17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/package-build/linux-kernel/build-linux-firmware.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ ! -d ${LINUX_FIRMWARE} ]; then
2020
fi
2121

2222
# Retrieve firmware blobs from source files
23-
FW_FILES=$(find ${KERNEL_DIR}/debian/linux-image-${KERNEL_VERSION}${KERNEL_SUFFIX}/lib/modules/${KERNEL_VERSION}${KERNEL_SUFFIX}/kernel/drivers/net -name *.ko | xargs modinfo | grep "^firmware:" | awk '{print $2}')
23+
FW_FILES=$(find ${KERNEL_DIR}/debian/linux-image-${KERNEL_VERSION}${KERNEL_SUFFIX}/lib/modules/${KERNEL_VERSION}${KERNEL_SUFFIX}/kernel/drivers/net -name *.ko* | xargs modinfo | grep "^firmware:" | awk '{print $2}')
2424

2525
# Debian package will use the descriptive Git commit as version
2626
GIT_COMMIT=$(cd ${CWD}/${LINUX_FIRMWARE}; git describe --always)

0 commit comments

Comments
 (0)