blob: 8153b84c1d5811b87009a29cc407ac398c44ae53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[Trigger]
Type = Package
Operation = Upgrade
Operation = Install
Operation = Remove
Target = linux-lts
Target = linux-lts-headers
Target = zfs-dkms
Target = zfs-utils
Target = grub
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/vmlinuz
[Action]
Description = Updating GRUB with ZFS snapshots...
When = PostTransaction
Exec = /usr/local/bin/grub-zfs-snap
|