diff options
author | Armin Kuster <akuster808@gmail.com> | 2022-05-30 07:13:31 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2022-06-07 16:58:24 -0700 |
commit | 3cb0ec30868f3a0a2ad1560f3e20a8c6cc7c12dd (patch) | |
tree | b7b2c8f0f884ef3d376637ee80c4c7ed7b06d6a0 | |
parent | a2783a8d8b1aca0fb44a498326874618baad76f9 (diff) | |
download | meta-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.bb | 4 |
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 | |||
20 | TSS_USER="tss" | 20 | TSS_USER="tss" |
21 | TSS_GROUP="tss" | 21 | TSS_GROUP="tss" |
22 | 22 | ||
23 | PACKAGECONFIG ?= "openssl" | 23 | PACKAGECONFIG ?= "openssl gnutls" |
24 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" | 24 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" |
25 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)}" | 25 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)}" |
26 | PACKAGECONFIG += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'filesystems-layer', 'cuse', '', d)}" | 26 | PACKAGECONFIG += "${@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 |
31 | PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls, gnutls, expect bash tpm2-pkcs11-tools" | 31 | PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls-native gnutls, gnutls-bin expect bash tpm2-pkcs11-tools" |
32 | PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux" | 32 | PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux" |
33 | PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, fuse" | 33 | PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, fuse" |
34 | PACKAGECONFIG[seccomp] = "--with-seccomp, --without-seccomp, libseccomp" | 34 | PACKAGECONFIG[seccomp] = "--with-seccomp, --without-seccomp, libseccomp" |