summarylogtreecommitdiffstats
path: root/luks-tpm.hook
diff options
context:
space:
mode:
Diffstat (limited to 'luks-tpm.hook')
-rw-r--r--luks-tpm.hook16
1 files changed, 16 insertions, 0 deletions
diff --git a/luks-tpm.hook b/luks-tpm.hook
new file mode 100644
index 000000000000..9176e9c3a8a5
--- /dev/null
+++ b/luks-tpm.hook
@@ -0,0 +1,16 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Type = File
+Target = boot/vmlinuz-*
+Target = boot/amd-ucode.img
+Target = boot/intel-ucode.img
+Target = usr/lib/initcpio/*
+Target = usr/lib/systemd/boot/efi/linux*.efi.stub
+Target = usr/share/refind/refind_x64.efi
+
+[Action]
+Description = Adding temporary LUKS TPM key...
+When = PostTransaction
+Exec = /usr/bin/luks-tpm temp