[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