diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-02-03 09:46:12 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-02-18 11:43:20 -0800 |
commit | 520b3a44e09d5c962772488f14308db084fc2fbc (patch) | |
tree | 56227690f7a76ec6d15eafcc66ad1bac8d7472da | |
parent | 8d0cc9b00459438142d9a72fd85edce633c69da6 (diff) | |
download | meta-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.bb | 4 |
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 = "" | |||
25 | TSS_USER="tss" | 25 | TSS_USER="tss" |
26 | TSS_GROUP="tss" | 26 | TSS_GROUP="tss" |
27 | 27 | ||
28 | PACKAGECONFIG ?= "openssl" | 28 | PACKAGECONFIG ?= "openssl cuse" |
29 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" | 29 | PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" |
30 | PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl" | 30 | PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl" |
31 | PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls" | 31 | PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls" |
32 | PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux" | 32 | PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux" |
33 | PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, libselinux" | 33 | PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse" |
34 | 34 | ||
35 | EXTRA_OECONF += "--with-tss-user=${TSS_USER} --with-tss-group=${TSS_GROUP}" | 35 | EXTRA_OECONF += "--with-tss-user=${TSS_USER} --with-tss-group=${TSS_GROUP}" |
36 | 36 | ||