1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
[Trigger] Type = Package Operation = Install Operation = Upgrade Target = linux Target = linux-* Target = !linux-*-headers Target = dracut Target = dracut-* Target = mkinitcpio Target = mkinitcpio-* [Action] Description = Saving Linux kernel... When = PreTransaction Depends = coreutils Exec = /usr/share/libalpm/scripts/kernel-rotate.sh NeedsTargets