Akmods build fails

I dont want to use prebuilt kmods packages from ublue and akmods fails with ERROR: Not to be used as root; start as user or 'akmodsbuild' instead. here is a link for github log: https://github.com/TrixieUA/system-image/actions/runs/13583623692/job/37973896023#main-content Also a link for recipe.yml: https://github.com/TrixieUA/system-image/blob/main/recipes/recipe.yml
GitHub
system-image/recipes/recipe.yml at main · TrixieUA/system-image
Contribute to TrixieUA/system-image development by creating an account on GitHub.
GitHub
Try to add rpmfusion as rpm · TrixieUA/system-image@7e71c0a
Contribute to TrixieUA/system-image development by creating an account on GitHub.
3 Replies
fiftydinar
fiftydinar4d ago
As far as I see from others building the akmods that way in the image, it's a harmless error Does those built akmods work for you?
Trixie
TrixieOP4d ago
No i dont have nvidia.ko.zst in my modules folder. Maybe for some reason im not on the latest image with nvidia or something. But i really dont think it built anything since when building image it spent like 2 seconds at Building /usr/src/akmods/nvidia-kmod-570.86.16-3.fc42.src.rpm for kernel 6.13.4-cachyos1.lto.fc42.x86_64
fiftydinar
fiftydinar4d ago
Hmm, not sure on how to solve this, as we only officially support using Ublue akmods in akmods module, building akmods directly to the image is something that I'm less knowledgable about

Did you find this page helpful?