aboutsummarylogtreecommitdiffstats
path: root/90-save-kernel-modules-post.hook
diff options
context:
space:
mode:
authorJonathan Kotta2020-03-14 20:32:25 -0500
committerJonathan Kotta2020-03-14 20:32:25 -0500
commitf5dff153c22dfb3f59cd3d714781bf9c57949e05 (patch)
tree74f14f66e5d9c8e31e86190265d65f3d35f74fd5 /90-save-kernel-modules-post.hook
downloadaur-f5dff153c22dfb3f59cd3d714781bf9c57949e05.tar.gz
initial commit
Diffstat (limited to '90-save-kernel-modules-post.hook')
-rw-r--r--90-save-kernel-modules-post.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/90-save-kernel-modules-post.hook b/90-save-kernel-modules-post.hook
new file mode 100644
index 000000000000..11ad34439401
--- /dev/null
+++ b/90-save-kernel-modules-post.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Upgrade
+Operation = Remove
+Type = Path
+Target = usr/lib/modules/*/vmlinuz
+
+[Action]
+Description = Linking saved modules ...
+When = PostTransaction
+Exec = /usr/lib/modules/saved-kernel-modules/post-hook