From b2a220492bc91c2f589381fc11556d9b46586c00 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Feb 2021 23:11:56 +0100 Subject: [PATCH] bootctl: show whether the firmware has TPM2 support --- src/boot/bootctl.c | 1 + 1 file changed, 1 insertion(+) 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)