summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authoranthraxx2019-10-03 22:02:02 +0200
committeranthraxx2019-10-03 22:02:02 +0200
commitfcfa50c78179408a3c724d22a0b7aa19f581864d (patch)
treeca32616a9a1ea20771edfc358e926adba6450922 /90-linux.hook
downloadaur-fcfa50c78179408a3c724d22a0b7aa19f581864d.tar.gz
addpkg: linux-hardened-git 5.3.0.r857780.g1317ca6048b5-1
Diffstat (limited to '90-linux.hook')
-rw-r--r--90-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/90-linux.hook b/90-linux.hook
new file mode 100644
index 000000000000..fca45abe1a62
--- /dev/null
+++ b/90-linux.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/modules/%KERNVER%/vmlinuz
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating %PKGBASE% initcpios...
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p %PKGBASE%