Apologies if this is fixed already(I've noticed a long forgotten TODO of mine), but it does not seem to be if I am reading the PKGBUILD correctly.
The uname should have a suffix with the package name, i.e. linux-xanmod should have a -xanmod suffix in the uname.
Could this please be fixed if it's still the case?
One can look at https://gitlab.com/C0rn3j/configs/-/blob/38684ec28a7ca7cbf98832aabcad5a14fdec6b36/roles/tools/files/corn-rebootcheck.sh#L48-57 for uname output between various kernels.
I believe the fix would be to change the current ${pkgbase#linux-xanmod} to just ${pkgbase#linux} instead.
Pinned Comments
anlorsp commented on 2024-07-13 17:07 (UTC) (edited on 2024-07-15 04:53 (UTC) by anlorsp)
Adding
to myconfig does solve the "Failed to insert module 'nvidia': Key was rejected by service" problem.
Anyone who configured secure boot using sbctl and want to load dkms modules can try this solution.
figue commented on 2018-12-14 00:50 (UTC) (edited on 2023-02-27 20:00 (UTC) by figue)
This package have several variables to enable/disable features.
Personally I'm running now xanmod kernel compiled with this:
Also, you can now create the file myconfig in your local repo to build this package with a custom config or use ${XDG_CONFIG_HOME}/linux-xanmod/myconfig. This file can be a full kernel config or be a script with several entries to add/remove options (you have several examples in PKGBUILD by using scripts/config):
Code involved: