diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-08-06 07:20:44 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-08-06 07:21:39 +0200 |
| commit | f7f5b1779f102cfa8ae0f01f6ef11daaae44b917 (patch) | |
| tree | 487e14fc456210c665a218b7c96249f848b95890 /scripts/package-build/linux-kernel | |
| parent | 0f03d0ab6c215bfdadcfeebbaa0dc9d04b4e8c87 (diff) | |
| download | vyos-build-f7f5b1779f102cfa8ae0f01f6ef11daaae44b917.tar.gz vyos-build-f7f5b1779f102cfa8ae0f01f6ef11daaae44b917.zip | |
Kernel: T9170: support compressed modules when searching module firmware
Commit 21c7e661 ("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.
Diffstat (limited to 'scripts/package-build/linux-kernel')
| -rwxr-xr-x | scripts/package-build/linux-kernel/build-linux-firmware.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package-build/linux-kernel/build-linux-firmware.sh b/scripts/package-build/linux-kernel/build-linux-firmware.sh index 948a06fd..e018bce8 100755 --- a/scripts/package-build/linux-kernel/build-linux-firmware.sh +++ b/scripts/package-build/linux-kernel/build-linux-firmware.sh @@ -20,7 +20,7 @@ if [ ! -d ${LINUX_FIRMWARE} ]; then fi # Retrieve firmware blobs from source files -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}') +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}') # Debian package will use the descriptive Git commit as version GIT_COMMIT=$(cd ${CWD}/${LINUX_FIRMWARE}; git describe --always) |
