summaryrefslogtreecommitdiff
path: root/libre-testing/linux-libre/60-linux.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/linux-libre/60-linux.hook')
-rw-r--r--libre-testing/linux-libre/60-linux.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre-testing/linux-libre/60-linux.hook b/libre-testing/linux-libre/60-linux.hook
new file mode 100644
index 000000000..b33873c85
--- /dev/null
+++ b/libre-testing/linux-libre/60-linux.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/modules/%KERNVER%/*
+Target = usr/lib/modules/%EXTRAMODULES%/*
+
+[Action]
+Description = Updating %PKGBASE% module dependencies...
+When = PostTransaction
+Exec = /usr/bin/depmod %KERNVER%