mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-07 04:58:47 +00:00
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>
This commit is contained in:
committed by
Armin Kuster
parent
8d0cc9b004
commit
520b3a44e0
@@ -25,12 +25,12 @@ PARALLEL_MAKE = ""
|
||||
TSS_USER="tss"
|
||||
TSS_GROUP="tss"
|
||||
|
||||
PACKAGECONFIG ?= "openssl"
|
||||
PACKAGECONFIG ?= "openssl cuse"
|
||||
PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
|
||||
PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
|
||||
PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls"
|
||||
PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux"
|
||||
PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, libselinux"
|
||||
PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse"
|
||||
|
||||
EXTRA_OECONF += "--with-tss-user=${TSS_USER} --with-tss-group=${TSS_GROUP}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user