summarylogtreecommitdiffstats
path: root/99-linux.hook
diff options
context:
space:
mode:
authorJerry2018-12-01 20:18:32 +0800
committerJerry2018-12-01 20:18:32 +0800
commit0e963cf4938fb8c2dff2fe92028565ccec55a83e (patch)
tree9a8f25dbe73ad2d457b889a8ef7288a971d3e7e9 /99-linux.hook
downloadaur-0e963cf4938fb8c2dff2fe92028565ccec55a83e.tar.gz
init: linux 4.18.14
Diffstat (limited to '99-linux.hook')
-rw-r--r--99-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/99-linux.hook b/99-linux.hook
new file mode 100644
index 000000000000..219e2d5588fd
--- /dev/null
+++ b/99-linux.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = boot/Image
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating %PKGBASE% initcpios
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p %PKGBASE%