summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts/90-linux.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-lts/90-linux.hook')
-rw-r--r--libre/linux-libre-lts/90-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/linux-libre-lts/90-linux.hook b/libre/linux-libre-lts/90-linux.hook
new file mode 100644
index 000000000..985115199
--- /dev/null
+++ b/libre/linux-libre-lts/90-linux.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%