mirror of
https://github.com/systemd/systemd.git
synced 2026-07-13 02:51:14 +00:00
Instead of succeeding when either the firmware reports a TPM device or we find a TPM device, let's check that the firmware reports a TPM device and the TPM subsystem is enabled in the kernel. To check whether the subsystem enabled, we check if the relevant subdirectory in /sys exists at all.