kernel: Keep modules functional after a kernel upgrade

When a kernel upgrade is taken in, we replace current modules with new
ones and they are not available until we reboot. This can cause the
system to appear broken, especially when plugging new hardwaare like a
pen drive or odd input device.

This patch adds kernel-modules-hook which keeps the current modules even
if the package is replaced. A one-off clean-up service runs on startup
  to remove older modules.
This commit is contained in:
Diogo Ferreira
2026-01-12 16:53:12 +00:00
parent 1ff31cfe41
commit bee9c892fb
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -61,6 +61,7 @@ inxi
iwd
jq
kdenlive
kernel-modules-hook
kvantum-qt5
lazydocker
lazygit