summaryrefslogtreecommitdiff
path: root/libre/linux-libre-hardened/60-linux.hook
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-01-28 18:22:51 -0300
committerDavid P <megver83@parabola.nu>2018-01-28 18:22:51 -0300
commit69a03c8de5a2e80fd42a6ad08aa3cff4719b29f5 (patch)
treefa56078ff4e3c10a07e3cc69a9e0b69de1249a3c /libre/linux-libre-hardened/60-linux.hook
parent0aa89a5b1f5539c915951d4b22924e446a48325a (diff)
downloadabslibre-69a03c8de5a2e80fd42a6ad08aa3cff4719b29f5.tar.gz
abslibre-69a03c8de5a2e80fd42a6ad08aa3cff4719b29f5.tar.bz2
abslibre-69a03c8de5a2e80fd42a6ad08aa3cff4719b29f5.zip
some fixes to libre/linux-libre-hardened
Diffstat (limited to 'libre/linux-libre-hardened/60-linux.hook')
-rw-r--r--libre/linux-libre-hardened/60-linux.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/linux-libre-hardened/60-linux.hook b/libre/linux-libre-hardened/60-linux.hook
new file mode 100644
index 000000000..b33873c85
--- /dev/null
+++ b/libre/linux-libre-hardened/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%