From 50095c51fcb84cff2cbeba72df43347e83eb8448 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 24 Jul 2025 13:15:32 +0100 Subject: [PATCH] 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. --- src/tpm2-setup/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tpm2-setup/meson.build b/src/tpm2-setup/meson.build index 6cfafe7cc5..39fc97b91e 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', ], },