From: Lennart Poettering Date: Thu, 11 Feb 2021 22:11:56 +0000 (+0100) Subject: bootctl: show whether the firmware has TPM2 support X-Git-Tag: v248-rc1~151^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2a220492bc91c2f589381fc11556d9b46586c00;p=thirdparty%2Fsystemd.git bootctl: show whether the firmware has TPM2 support --- diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 7b759bcd025..cccd834cc82 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -1233,6 +1233,7 @@ static int verb_status(int argc, char *argv[], void *userdata) { printf(" Firmware: %s%s (%s)%s\n", ansi_highlight(), strna(fw_type), strna(fw_info), ansi_normal()); printf(" Secure Boot: %sd\n", enable_disable(is_efi_secure_boot())); printf(" Setup Mode: %s\n", is_efi_secure_boot_setup_mode() ? "setup" : "user"); + printf(" TPM2 Support: %s\n", yes_no(efi_has_tpm2())); k = efi_get_reboot_to_firmware(); if (k > 0)