[Trigger] Type = Path Operation = Install Operation = Upgrade Target = usr/lib/modules/*/vmlinuz Target = usr/lib/firmware/* Target = usr/src/*/dkms.conf [Trigger] Type = Package Operation = Install Operation = Upgrade Operation = Remove Target = amd-ucode Target = intel-ucode [Action] Description = Running kernel-install... When = PostTransaction Exec = /usr/share/libalpm/scripts/kernel-install-hook add NeedsTargets