Use rpm to get kernel version instead and use dracut to build kernel modules
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (pull_request) Successful in 7m42s

This commit is contained in:
2025-10-03 13:45:06 -04:00
parent 223e058a30
commit 05d87d642c
4 changed files with 11 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
set -oue pipefail
echo "INFO: grab kernel module"
KERNEL_VER=$(ls /lib/modules | head -n 1)
KERNEL_VER="$(rpm -qa | grep -P 'kernel-(\d+\.\d+\.\d+)' | sed -E 's/kernel-//')"
echo $KERNEL_VER
echo "INFO: grab xpad modules"