[Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/modules/*/pkgbase Target = usr/lib/dracut/* [Action] Description = Updating linux initcpios in host... When = PostTransaction Exec = /usr/share/libalpm/scripts/dracut-install NeedsTargets