build: include status of TPM2 in the feature string show by --version

This commit is contained in:
Franck Bui
2022-03-29 05:20:20 +09:00
committed by Yu Watanabe
parent 2afb2f4a9d
commit 6d39da79c8
+6
View File
@@ -160,6 +160,12 @@ const char* const systemd_features =
" -QRENCODE"
#endif
#if HAVE_TPM2
" +TPM2"
#else
" -TPM2"
#endif
/* compressors */
#if HAVE_BZIP2