diff options
Diffstat (limited to 'luks-tpm2.hook')
-rw-r--r-- | luks-tpm2.hook | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/luks-tpm2.hook b/luks-tpm2.hook index 5729678d20ed..4d50e6a9260f 100644 --- a/luks-tpm2.hook +++ b/luks-tpm2.hook @@ -1,14 +1,27 @@ [Trigger] Operation = Install Operation = Upgrade -Operation = Remove Type = Path -Target = boot/vmlinuz-* -Target = boot/intel-ucode.img -Target = usr/lib/initcpio/* +Target = usr/lib/modules/*/vmlinuz Target = usr/lib/systemd/boot/efi/linux*.efi.stub Target = usr/share/refind/refind_x64.efi +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Path +Target = usr/lib/initcpio/* +Target = usr/src/*/dkms.conf + +[Trigger] +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = intel-ucode +Target = amd-ucode + [Action] Description = Adding temporary LUKS TPM key... When = PostTransaction |