summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2022-05-30 07:13:31 -0700
committerArmin Kuster <akuster808@gmail.com>2022-06-07 16:58:24 -0700
commit3cb0ec30868f3a0a2ad1560f3e20a8c6cc7c12dd (patch)
treeb7b2c8f0f884ef3d376637ee80c4c7ed7b06d6a0
parenta2783a8d8b1aca0fb44a498326874618baad76f9 (diff)
downloadmeta-security-3cb0ec30868f3a0a2ad1560f3e20a8c6cc7c12dd.tar.gz
swtpm: enable gnutls
needed for cert support Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb b/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb
index db6ceee..03899d8 100644
--- a/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb
+++ b/meta-tpm/recipes-tpm/swtpm/swtpm_0.7.1.bb
@@ -20,7 +20,7 @@ inherit autotools pkgconfig perlnative
20TSS_USER="tss" 20TSS_USER="tss"
21TSS_GROUP="tss" 21TSS_GROUP="tss"
22 22
23PACKAGECONFIG ?= "openssl" 23PACKAGECONFIG ?= "openssl gnutls"
24PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" 24PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
25PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)}" 25PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)}"
26PACKAGECONFIG += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'filesystems-layer', 'cuse', '', d)}" 26PACKAGECONFIG += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'filesystems-layer', 'cuse', '', d)}"
@@ -28,7 +28,7 @@ PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
28# expect, bash, tpm2-pkcs11-tools (tpm2_ptool), tpmtool and certtool is 28# expect, bash, tpm2-pkcs11-tools (tpm2_ptool), tpmtool and certtool is
29# used by swtpm-create-tpmca (the last two is provided by gnutls) 29# used by swtpm-create-tpmca (the last two is provided by gnutls)
30# gnutls is required by: swtpm-create-tpmca, swtpm-localca and swtpm_cert 30# gnutls is required by: swtpm-create-tpmca, swtpm-localca and swtpm_cert
31PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls, gnutls, expect bash tpm2-pkcs11-tools" 31PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls-native gnutls, gnutls-bin expect bash tpm2-pkcs11-tools"
32PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux" 32PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux"
33PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, fuse" 33PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, fuse"
34PACKAGECONFIG[seccomp] = "--with-seccomp, --without-seccomp, libseccomp" 34PACKAGECONFIG[seccomp] = "--with-seccomp, --without-seccomp, libseccomp"