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