[yocto] [meta-security][PATCH v2 5/9] swtpm: depends on tpm-tools
Patrick Ohly
patrick.ohly at intel.com
Fri Feb 3 00:46:10 PST 2017
The configure script checks for tpm_nvdefine from tpm-tools and fails
when it is not present.
Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
---
recipes-tpm/swtpm/swtpm_1.0.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/recipes-tpm/swtpm/swtpm_1.0.bb b/recipes-tpm/swtpm/swtpm_1.0.bb
index d5a2a58..5283f5d 100644
--- a/recipes-tpm/swtpm/swtpm_1.0.bb
+++ b/recipes-tpm/swtpm/swtpm_1.0.bb
@@ -5,6 +5,11 @@ SECTION = "apps"
DEPENDS = "libtasn1 fuse expect socat glib-2.0 libtpm libtpm-native"
+# configure checks for the tools already during compilation and
+# then swtpm_setup needs them at runtime
+DEPENDS += "tpm-tools-native"
+RDEPENDS_${PN} += "tpm-tools"
+
SRCREV = "ca906a02124d0ed8b6194e845d272d23ee394a34"
SRC_URI = " \
git://github.com/stefanberger/swtpm.git \
--
git-series 0.9.1
More information about the yocto
mailing list