summarylogtreecommitdiffstats
path: root/60-kernel-install-remove.hook
blob: 52e45ef5039cd808f49d0c13766c1aaef42533a6 (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
[Trigger]
Type = Path
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/vmlinuz
Target = usr/lib/modules/*/extramodules/*

[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = boot/*-ucode.img
Target = usr/lib/initcpio/*
Target = usr/lib/initcpio/*/*
Target = usr/lib/dracut/*
Target = usr/lib/dracut/*/*
Target = usr/lib/dracut/*/*/*
Target = usr/lib/kernel/*
Target = usr/lib/kernel/*/*
Target = usr/src/*/dkms.conf

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