summaryrefslogtreecommitdiff
path: root/libre/linux-libre-hardened/90-linux.hook
diff options
context:
space:
mode:
authorJoseph Graham <joseph@xylon.me.uk>2017-05-27 21:42:29 +0100
committerJoseph Graham <joseph@xylon.me.uk>2017-05-27 21:42:29 +0100
commitb816aaef5b8ceb4d7e759269f6f07a976088956a (patch)
treed5661f825f70fcf33c096b313083d746ce343923 /libre/linux-libre-hardened/90-linux.hook
parent2a45acc36fa62614f5df23291f8c0cb2eddf0b05 (diff)
parent07bf85aca2541586275cd957b40e2fcb50310b7c (diff)
downloadabslibre-b816aaef5b8ceb4d7e759269f6f07a976088956a.tar.gz
abslibre-b816aaef5b8ceb4d7e759269f6f07a976088956a.tar.bz2
abslibre-b816aaef5b8ceb4d7e759269f6f07a976088956a.zip
Merge branch 'master' of git://git.parabola.nu/abslibre/abslibre
Diffstat (limited to 'libre/linux-libre-hardened/90-linux.hook')
-rw-r--r--libre/linux-libre-hardened/90-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/linux-libre-hardened/90-linux.hook b/libre/linux-libre-hardened/90-linux.hook
new file mode 100644
index 000000000..985115199
--- /dev/null
+++ b/libre/linux-libre-hardened/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%