DEV Community

Discussion on: April 3, 2020: What did you learn this week?

Collapse
 
darksmile92 profile image
Robin Kretzschmar

I leaned about DKMS in arch linux. After getting angry again because the steps of removing dkms modules, building them and adding them again took a long time during my system upgrade again, I finally took the time to dive into it and learned what that is.

Turns out dkms (Dynamic Kernel Module Support) enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.

This has the advantage that we don't have to wait for an official release of a module to get fixes or changes in general because we simply refresh the source and build it (automatically handled by the package manager hooks - Pacman for example).

Clever! 👍