summarylogtreecommitdiffstats
path: root/linux-preserve-modules.hook
blob: e60955a167b091395ecee7a3389a16b48bffd64a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/modules/*/
Target = !usr/lib/modules/*/?*

[Action]
Description = Preserving old linux kernel modules...
When = PreTransaction
Exec = /usr/share/libalpm/scripts/linux-preserve-modules
NeedsTargets