summaryrefslogtreecommitdiff
path: root/90-linux-rt-lts.hook
diff options
context:
space:
mode:
Diffstat (limited to '90-linux-rt-lts.hook')
-rw-r--r--90-linux-rt-lts.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/90-linux-rt-lts.hook b/90-linux-rt-lts.hook
new file mode 100644
index 0000000..be0d886
--- /dev/null
+++ b/90-linux-rt-lts.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = boot/vmlinuz-%PKGBASE%
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating %PKGBASE% initcpios...
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p %PKGBASE%