Rebuild initramfs when external modules change
In continuation of the discussion in #197 (closed), mkinitcpio's pacman hook should rebuild the initramfs when an external module or DKMS-built module gets updated.
The issue, unlike with firmware files, is that the initramfs only needs to be rebuilt for those kernels whose modules get updated. For things like nvidia it may be possible to extract the kernel version from the /usr/lib/modules/*/extramodules/
file path, but for DKMS it's not so simple.
Also reported in FS#54088.
Edited by nl6720