Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67697 - [edk2-ovmf] TPM2_ENABLE renamed to TPM_ENABLE in upstream 202005

Attached to Project: Arch Linux
Opened by Samuel Bowman (samuelbowman) - Monday, 24 August 2020, 00:57 GMT
Last edited by David Runge (dvzrv) - Friday, 04 September 2020, 20:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
David Runge (dvzrv)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The build option TPM2_ENABLE was renamed to TPM_ENABLE in edk2 upstream version 202005, but the PKGBUILD was not updated accordingly. edk2-ovmf still builds with TPM2_ENABLE, but does not include TPM functionality as expected. Changing TPM2_ENABLE to TPM_ENABLE and rebuilding resolves the issue. See attached patch for reference.

Additional info:
* affected package versions: 202005-1 and 202005-2
* upstream commit changing TPM2 to TPM: https://github.com/tianocore/edk2/commit/07952a962a40efe65729c3ccb9b8934571cec1af

Steps to reproduce:
1. Boot qemu virtual machine with TPM device using edk2-ovmf 202005-2 firmware.
2. Notice that TPM is not initialized regardless of operating system choice. (Linux and Windows OS families tested)
This task depends upon

Closed by  David Runge (dvzrv)
Friday, 04 September 2020, 20:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with edk2-ovmf 202005-3
Comment by Anatol Pomozov (anatolik) - Monday, 24 August 2020, 20:11 GMT
Yeah, we need to switch to the new config option.

Though it is weird that tianocore still uses TPM2_ENABLE in a few places https://github.com/tianocore/edk2/search?q=TPM2_ENABLE&unscoped_q=TPM2_ENABLE
Comment by Anatol Pomozov (anatolik) - Monday, 24 August 2020, 20:20 GMT
Please check edk2-202005-3 that has been pushed to [testing] a moment ago.
Comment by Samuel Bowman (samuelbowman) - Monday, 24 August 2020, 21:37 GMT
edk2-202005-3 works for me!

Loading...