[Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/modules/*/pkgbase [Action] Description = Installing kernel... When = PostTransaction Exec = /usr/share/libalpm/scripts/kernel-install add NeedsTargets