Skip to contentSkip to conversation

swtpm-wrappers-native.bb: need netstat

PATCH In review Patrick Ohly 2 participants 2 messages Apr 27, 2017 – May 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 swtpm-wrappers-native.bb: need netstat

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.

---
 recipes-tpm/swtpm/swtpm-wrappers-native.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-tpm/swtpm/swtpm-wrappers-native.bb +1 -1
index 0af1db6..644f3ac 100644
@@ -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
 
Signature · 1 line
2.11.0
#1 lore raw
Quoted 5 lines · Patrick Ohly

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.

merged

thanks

Quoted 16 lines
---
  recipes-tpm/swtpm/swtpm-wrappers-native.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-tpm/swtpm/swtpm-wrappers-native.bb +1 -1
index 0af1db6..644f3ac 100644
@@ -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