diff options
author | Franck Bui <fbui@suse.com> | 2022-03-28 14:59:59 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-03-28 22:20:20 +0200 |
commit | 6d39da79c85d35e95d3993fa6b8873fccda33bd9 (patch) | |
tree | 6ea5bdc39892f43351bda840e07a77679a32e67b /src/basic/build.c | |
parent | Merge pull request #22885 from poettering/kill-clock-boottime-or-monotonic (diff) | |
download | systemd-6d39da79c85d35e95d3993fa6b8873fccda33bd9.tar.xz systemd-6d39da79c85d35e95d3993fa6b8873fccda33bd9.zip |
build: include status of TPM2 in the feature string show by --version
Diffstat (limited to 'src/basic/build.c')
-rw-r--r-- | src/basic/build.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/basic/build.c b/src/basic/build.c index e34d23adeb..4a15f901d0 100644 --- a/src/basic/build.c +++ b/src/basic/build.c @@ -160,6 +160,12 @@ const char* const systemd_features = " -QRENCODE" #endif +#if HAVE_TPM2 + " +TPM2" +#else + " -TPM2" +#endif + /* compressors */ #if HAVE_BZIP2 |