summarylogtreecommitdiffstats
path: root/99-linux.hook
diff options
context:
space:
mode:
authormuhviehstarr2019-02-01 01:22:49 +0100
committermuhviehstarr2019-02-01 01:22:49 +0100
commit081899c8a8f1662c6b7595bbff2a1174e232ae55 (patch)
tree529ac50a0e54cf769e83cea966305ea218e5705d /99-linux.hook
downloadaur-081899c8a8f1662c6b7595bbff2a1174e232ae55.tar.gz
initial
Diffstat (limited to '99-linux.hook')
-rw-r--r--99-linux.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/99-linux.hook b/99-linux.hook
new file mode 100644
index 000000000000..d9b2dadaba5a
--- /dev/null
+++ b/99-linux.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = boot/kernel*.img
+
+[Action]
+Description = Updating %PKGBASE% initcpios
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p %PKGBASE%