Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/587'
Browse files Browse the repository at this point in the history
* origin/pr/587:
  qubes-hcl-report: fix TPM family detection
  • Loading branch information
marmarek committed Apr 26, 2024
2 parents ba8bc65 + 92a007e commit fc80889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qvm-tools/qubes-hcl-report
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ else
HAP_VERBOSE="No"
fi

if [[ -f "/sys/class/tpm/tpm0/tpm_version_major" ]]
if [[ -f "/sys/class/tpm/tpm0/tpm_version_major" && $(< "/sys/class/tpm/tpm0/tpm_version_major") == "2" ]]
then
TPM="Device present (TPM 2.0)"
TPM_s="2.0"
Expand Down

0 comments on commit fc80889

Please sign in to comment.