pkgbuilds/kernel-modules-hook-hardlinks/10-linux-modules-pre.hook

11 lines
261 B
Text

[Trigger]
Operation = Install
Operation = Remove
Type = Path
Target = usr/lib/modules/*/vmlinuz
[Action]
Description = Saving Linux kernel modules directory (hardlinks)...
When = PreTransaction
Exec = /usr/share/libalpm/scripts/linux-modules-save
NeedsTargets