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

11 lines
249 B
Text

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