summarylogtreecommitdiffstats
path: root/60-kernel-install-remove.hook
blob: f007852cb4329d27dc476db6616ffefc0e2caaab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/kernel/install.*
Target = etc/kernel/install.*

[Trigger]
Type = Path
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/vmlinuz

[Action]
Description = Removing kernel and initrd from $BOOT... (kernel-install)
When = PostTransaction
Exec = /usr/share/libalpm/scripts/kernel-install.sh remove
NeedsTargets