saber-nyan / kernel-modules-hook

Keeps your Arch Linux fully functional after a kernel upgrade
The Unlicense
344 stars 25 forks source link

Adapt to new kernel installation #7

Closed maximbaz closed 4 years ago

maximbaz commented 4 years ago

All official kernels no longer install the actual kernel to /boot anymore, this is done by mkinitcpio.

https://lists.archlinux.org/pipermail/arch-announce/2019-November/000397.html

This changes the hooks to watch for vmlinuz files in /usr/lib/modules, just like mkinitcpio hook does.

Seems to work, but let me know if there are some issues with this approach.

Probably fixes #6 too

cc @shibumi if you are still using this 😉

saber-nyan commented 4 years ago

Thanks! Will test your patch at the next kernel update.