summarylogtreecommitdiffstats
path: root/89-mkinitcpio-sign-install.hook
diff options
context:
space:
mode:
authorsharethewisdom2019-12-07 03:12:08 +0100
committersharethewisdom2019-12-07 03:42:05 +0100
commitff88eb86eb43451af81b6bd41d0431fd6748e014 (patch)
tree9bf43c0837645671d14787be2e804a19a91e8b00 /89-mkinitcpio-sign-install.hook
downloadaur-ff88eb86eb43451af81b6bd41d0431fd6748e014.tar.gz
initial commit
Diffstat (limited to '89-mkinitcpio-sign-install.hook')
-rw-r--r--89-mkinitcpio-sign-install.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/89-mkinitcpio-sign-install.hook b/89-mkinitcpio-sign-install.hook
new file mode 100644
index 000000000000..4921bb58c565
--- /dev/null
+++ b/89-mkinitcpio-sign-install.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/modules/*/vmlinuz
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Checking for a keypair to sign images with
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/mkinitcpio-sign-install
+NeedsTargets