Dienstag, 16. September 2008

akmods - compile kmod packages when needed

I never mentioned it in my blog and it seems many people are not aware of it yet: the livna repos for Fedora 9 and Fedora development not only contain pre-compiled kernel-modules in kmod packages (e.g. kmod-nvidia, kmod-madwifi, ...); they also contain akmod packages (akmod-nvidia, akmod-madwifi, ...), which contain the sources for the kmod as source rpm (srpm). That srpm will dynamically get compiled and installed by the akmod scripts on startup in case the kmod for the kernel you booted were not found. That not only works for kernel from Fedora; it should work with kernels you complied yourself as well, as long as the files needed to compile kernel modules are available.

Note that kmods and akmods work nicely together. E.g. you normally install both akmod-foo and kmod-foo; if the kmod-foo is not found during bootup for the kenrel you booted akmods will step in and compile a kmod-foo for you.

1 Kommentar:

Anonym hat gesagt…

Thank you very much! I, indeed, wasn't aware of that package. I was always irritated by those kmod and akmod packages.