From 8da7e26cbc224edd1cab22b7b5aebc6df5f0216e Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 2 Jul 2021 19:11:58 +0100 Subject: [PATCH] meson: fix crypt_activate_by_signed_key detection It should set HAVE_CRYPT_ACTIVATE_BY_SIGNED_KEY, rather than HAVE_CRYPTSETUP which enables the verity features, as it needs to detect the availability of the crypt_activate_by_signed_key API --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index fbb24e7a46..5b362ae62c 100644 --- a/meson.build +++ b/meson.build @@ -320,7 +320,7 @@ conf.set('CRYPTSETUP_VIA_DLOPEN', lib_cryptsetup_dl.found() ? 1 : false) have = cc.has_function( 'crypt_activate_by_signed_key', dependencies : lib_cryptsetup) -conf.set('HAVE_CRYPTSETUP', have ? 1 : false) +conf.set('HAVE_CRYPT_ACTIVATE_BY_SIGNED_KEY', have ? 1 : false) lib_cap_ng = dependency( 'libcap-ng') -- 2.47.2