[Trigger] Operation = Install Operation = Upgrade Type = File Target = usr/lib/kernel/vmlinuz-* [Action] Description = kernel-install add Depends = systemd When = PostTransaction Exec = /usr/bin/kernel-install-hook add NeedsTargets