Apologies, the build support is indeed not enabled, I confused the `-Dtpm=` option with `-Dtpm2=`, which is the one that matters here. And since we don't have a BuildRequires for tpm2-tss, it gets disabled automagically during the build.
So, as Gordon pointed out, please open a BZ for systemd.
On 10/26/21 19:46, Gordon Messmer wrote:
On 10/26/21 09:50, lejeczek via CentOS-devel wrote:
Nope, tpm2-tss is present in system. Should this go into Bugzilla perhaps?
Possibly. The message "TPM2 not supported on this build" indicates that support was disabled at build time:
https://github.com/systemd/systemd/blob/main/src/shared/tpm2-util.c#L1122
(HAVE_TPM2 was not defined)
CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel