From: Luca Boccassi Date: Thu, 24 Jul 2025 12:15:32 +0000 (+0100) Subject: tpm2-clear: build only if bootloader/openssl are enabled X-Git-Tag: v258-rc2~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50095c51fcb84cff2cbeba72df43347e83eb8448;p=thirdparty%2Fsystemd.git tpm2-clear: build only if bootloader/openssl are enabled The tpm2-clear units are only installed if tpm/bootloader/ssl are enabled. The tpm2-setup binary/units are built and installed only if tpm/bootloader/ssl are enabled. Do the same for the tpm2-clear binary to keep it consistent. --- diff --git a/src/tpm2-setup/meson.build b/src/tpm2-setup/meson.build index 6cfafe7cc5a..39fc97b91e7 100644 --- a/src/tpm2-setup/meson.build +++ b/src/tpm2-setup/meson.build @@ -17,6 +17,8 @@ executables += [ 'name' : 'systemd-tpm2-clear', 'sources' : files('tpm2-clear.c'), 'conditions' : [ + 'ENABLE_BOOTLOADER', + 'HAVE_OPENSSL', 'HAVE_TPM2', ], },