1 2 3 4 5 6 7 8 9 10 11
[Trigger] Type = Path Operation = Install Operation = Upgrade Operation = Remove Target = usr/lib/modules/*/ [Action] Description = Copy old kernel module directory to cache When = PreTransaction Exec = /usr/lib/kmodcache/pre-upgrade