summaryrefslogtreecommitdiff
path: root/90-linux.hook
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2017-10-08 18:25:53 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2017-10-08 18:25:53 -0700
commit78b5500314b1d8ad7e4e652fb83df17b8b6dd0d4 (patch)
treeac730743cf113fdf1d3b744077c7434d3825fd64 /90-linux.hook
parentUsing upstream sources since blobs were removed (diff)
downloadlinux-libre-unofficial_grsec-78b5500314b1d8ad7e4e652fb83df17b8b6dd0d4.tar.xz
Sync PKGBUILD with upstream where reasonable
Diffstat (limited to '90-linux.hook')
-rw-r--r--90-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/90-linux.hook b/90-linux.hook
new file mode 100644
index 0000000..9851151
--- /dev/null
+++ b/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%