You are not logged in.
In my setup, I need to use a dkms enabled module to run my network card. Currently the way I've got it setup, I need to do a "dkms autoinstall -k 3.X.X" whenever there is a new kernel version updated via pacman.
Wondering if there is an automated way that I can have "dkms autoinstall" run when there is a new kernel version?
Last edited by r2b2 (2013-12-08 07:40:57)
Offline
i'm sorry for my poor english wirting skills…
Offline
Thanks.
I've actually read that previously and enabled the service but I found (previously I admit) that it didn't seem to actually rebuild the module properly and I'd be left without a network adapter until I manually did a dkms rebuild. I'll try again at the next kernel upgrade and see what happens.
Offline
Cool - it looks like it does actually rebuild as properly following a reboot albeit rather slowly (which is probably why I thought it wasn't working properly)
Out of interest though, to speed things up in the future, is there any way to get it to do the rebuild immediately following the linux kernel upgrade? (i.e. rebuild prior to rebooting)
Thanks!
Offline
doubt it, as the newly installed kernel doesn't have the new modules loaded until reboot.
If you prefer to avoid a reboot, look in to kexec .
It's supposed to be able to change the kernel on a live system.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Nice, you should be able to call dkms manually, like described here or as you said in your first post "dkms autoinstall -k 3.X.X" (where 3.x.x is the newly installed kernel). This should be doable before reboot.
Could you also mark this thread as solved, please?
i'm sorry for my poor english wirting skills…
Offline