use akmods instead to build kernel modules
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (pull_request) Successful in 7m18s

This commit is contained in:
2025-10-03 14:42:42 -04:00
parent 2d725f3da9
commit 75e654e8d0
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -oue pipefail
QUALIFIED_KERNEL="$(rpm -qa | grep -P 'kernel-(\d+\.\d+\.\d+)' | sed -E 's/kernel-//')"
sudo akmods --kernels $QUALIFIED_KERNEL

View File

@@ -9,4 +9,4 @@ modules:
- type: script - type: script
scripts: scripts:
- regenerateinitramfs.sh - buildakmods.sh