summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-02-03 09:46:12 +0100
committerArmin Kuster <akuster808@gmail.com>2017-02-18 11:43:20 -0800
commit520b3a44e09d5c962772488f14308db084fc2fbc (patch)
tree56227690f7a76ec6d15eafcc66ad1bac8d7472da
parent8d0cc9b00459438142d9a72fd85edce633c69da6 (diff)
downloadmeta-security-520b3a44e09d5c962772488f14308db084fc2fbc.tar.gz
swtpm: cuse packageconfig
The CUSE support in swtpm does not depend on selinux. It is needed for simulating a virtual TPM, one of the use cases for swtpm-native, so enable it by default. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-tpm/swtpm/swtpm_1.0.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-tpm/swtpm/swtpm_1.0.bb b/recipes-tpm/swtpm/swtpm_1.0.bb
index 5283f5d..0733adc 100644
--- a/recipes-tpm/swtpm/swtpm_1.0.bb
+++ b/recipes-tpm/swtpm/swtpm_1.0.bb
@@ -25,12 +25,12 @@ PARALLEL_MAKE = ""
25TSS_USER="tss" 25TSS_USER="tss"
26TSS_GROUP="tss" 26TSS_GROUP="tss"
27 27
28PACKAGECONFIG ?= "openssl" 28PACKAGECONFIG ?= "openssl cuse"
29PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" 29PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
30PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl" 30PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
31PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls" 31PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls"
32PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux" 32PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux"
33PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, libselinux" 33PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse"
34 34
35EXTRA_OECONF += "--with-tss-user=${TSS_USER} --with-tss-group=${TSS_GROUP}" 35EXTRA_OECONF += "--with-tss-user=${TSS_USER} --with-tss-group=${TSS_GROUP}"
36 36