akmods
The akmods
module is a tool used for managing and installing kernel modules built by Universal Blue. It simplifies the installation of kernel modules, improving the capabilities of your system.
List of all available kernel modules & versions/tags are here:
https://github.com/ublue-os/akmods
Ublue-os-akmods-addons & ublue-os-nvidia-addons are already included when necessary, so they are not needed to install.
To use the akmods
module, specify the kernel modules you wish to install in the install:
section of your recipe/configuration file.
By default, the akmods
module installs the main
version of akmods.
main
akmods are also compatible with other images, except surface(-nvidia)
& asus(-nvidia)
.
If you want to install akmods for surface
or asus
images, change base
entry in the recipe file.
See available tags here: https://github.com/ublue-os/akmods/#how-its-organized
Known issues
Outdated akmods compared to the current kernel version fail the build
When the upstream base image is failing to build for some time, you will probably notice that this module fails too with this error:
Just wait for the base image build to resolve & akmods module will start working again. If this issue happens for a prolonged period of time, report it to the upstream repo if not already reported or worked on.
Some akmods are not installing due to lack of some additional akmod package
Example of the error:
This happens when the mentioned akmod is not pulled from ublue-os/akmods COPR repo, but from some other one.
Those akmods are rare & they are residing in extra
akmods stream.
There is also the information of repo source of the akmod, where you can see which akmod is the “exotic” one.
All this information can be seen in akmods
repo.
The solution to this problem is to add the affected akmod repo to rpm-ostree
module in repos
section.
Example configuration
Configuration options
base:
(optional enum)
The kernel / image your image is based on. main: stock kernel / main and nvidia images asus: asus kernel / asus images fsync: fsync kernel / bazzite images surface: surface kernel / surface images
Possible values: main
, asus
, fsync
, surface
Default: main
install:
(required array)
No description provided…