lilac/repo/pacman-boot-backup-hook/uu_bootbackup.hook

20 lines
384 B
Plaintext
Raw Permalink Normal View History

[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Operation = Remove
Target = systemd
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Target = boot/vmlinuz-*
Target = usr/lib/modules/*/vmlinuz
Target = usr/lib/initcpio/*
[Action]
Description = Backup boot partition...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/backup-boot-partition post