summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
Diffstat (limited to '90-linux.hook')
-rw-r--r--90-linux.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/90-linux.hook b/90-linux.hook
new file mode 100644
index 00000000000..099b5b24b88
--- /dev/null
+++ b/90-linux.hook
@@ -0,0 +1,12 @@
+[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%
+