[yocto] [meta-security][PATCH 1/1] swtpm-wrappers-native.bb: need netstat

Patrick Ohly patrick.ohly at intel.com
Thu Apr 27 09:14:31 PDT 2017


netstat from net-tools-native is needed for swtpm_setup.sh, which uses
it to check whether the swtpm daemon has started. The scripts hangs in
a loop during startup when netstat is missing.

Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
---
 recipes-tpm/swtpm/swtpm-wrappers-native.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-tpm/swtpm/swtpm-wrappers-native.bb b/recipes-tpm/swtpm/swtpm-wrappers-native.bb
index 0af1db6..644f3ac 100644
--- a/recipes-tpm/swtpm/swtpm-wrappers-native.bb
+++ b/recipes-tpm/swtpm/swtpm-wrappers-native.bb
@@ -1,6 +1,6 @@
 SUMMARY = "SWTPM - OpenEmbedded wrapper scripts for native swtpm tools"
 LICENSE = "MIT"
-DEPENDS = "swtpm-native tpm-tools-native"
+DEPENDS = "swtpm-native tpm-tools-native net-tools-native"
 
 inherit native
 
-- 
2.11.0




More information about the yocto mailing list