summarylogtreecommitdiffstats
path: root/60-kernel-install-remove.hook
blob: 4783bbe82b054d81db9c228ef67c1e67edcdc80c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Trigger]
Type = Path
Operation = Upgrade
Operation = Remove
Target = usr/lib/kernel/install.*
Target = etc/kernel/install.*
Target = usr/lib/modules/*/vmlinuz

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