From b70a046ce482627edab0c347259c3a25de277d09 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Fri, 3 Feb 2017 09:46:10 +0100 Subject: swtpm: depends on tpm-tools The configure script checks for tpm_nvdefine from tpm-tools and fails when it is not present. Signed-off-by: Patrick Ohly Signed-off-by: Armin Kuster --- 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 \ -- cgit v1.2.3-54-g00ecf