Leftover folder and initramfs.img in /lib/modules
I have two kernel folders in
/lib/modules
:
* 6.13.4-200
* 6.13.5-102
The 6.13.4 only has initramfs.img
inside, so it is not a full folder, compared to 6.13.5.
The issue is that I cannot install RPM containing akmod, because the install script iterates over /lib/modules
, finds 2 folders and assumes that it needs to build for 6.13.4. But that folder is practically empty and the script fails. I checked that the installation works correctly in pure Silverblue because there is only one folder.
So, why is there a leftover folder and file in /lib/modules
and can I do anything about it?4 Replies
you can't layer rpms with akmods
Okay, I guess I would've found out that if there weren't a "broken" folder in
/lib/modules
😄
I mean, the original question still stands, I don't think there should be 6.13.4 folder. But now I have a second question - if I want to have that akmod I have to build my own image, and install it during the build?first question: I'm not sure. it might be tied to the kernels of the images you still have loaded.
second: I believe so. I cannot assist with this though. It might be in the docs
thanks! Yeah building my own image seems relatively easy, so will give it a go