]> git.ipfire.org Git - thirdparty/systemd.git/commit
condition: if spelunking through /sys/class/tpmrm doesn't work ask EFI if TPM2 exists 18558/head
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Feb 2021 22:12:46 +0000 (23:12 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Feb 2021 22:12:46 +0000 (23:12 +0100)
commit537c10f937745f379b8397205c0758125ecec606
tree80854f01f9a7ba7f07ba28f22c64219fb4e3b2f4
parentb2a220492bc91c2f589381fc11556d9b46586c00
condition: if spelunking through /sys/class/tpmrm doesn't work ask EFI if TPM2 exists

This makes ConditionSecurity=tpm2 work reliably during early boot: if
Linux doesn't know about the TPM2 then maybe the firmware does.
src/shared/condition.c