summarylogtreecommitdiffstats
path: root/50_bootbackup.hook
blob: 906875dcb52ce05c9078db805787ac58f9e1f9c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Operation = Remove
Target = systemd

[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = boot/vmlinuz-linux
Target = usr/lib/initcpio/*

[Action]
Description = Backup boot partition...
When = PreTransaction
Depends = rsync
Exec = /usr/share/libalpm/scripts/backup-boot-partition pre
AbortOnFail