summarylogtreecommitdiffstats
path: root/60-kernel-install-remove.hook
blob: 2f8a29a47a237967c40161e3a4716f06cc74af53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[Trigger]
Type = Path
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/vmlinuz

[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/kernel/install.*
Target = etc/kernel/install.*
Target = usr/src/*/dkms.conf

[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Operation = Remove
Target = systemd
Target = amd-ucode
Target = intel-ucode
Target = plymouth
Target = cryptsetup
Target = dracut
Target = mkinitcpio

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