Skip to contentSkip to conversation

runqemu: print command search result when not found

PATCH New Robert Yang 1 participant 2 messages Nov 10, 2017

lore
Share & tools
lore
#0 lore raw

cover runqemu: print command search result when not found

The following changes since commit f706448952c942d25ea96cda09a700d2c5c63520:

maintainers.inc: add Otavio Salvador for go-dep (2017-11-09 12:33:12 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/runqemu
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/runqemu

Robert Yang (1):
runqemu: print command search result when not found

 scripts/runqemu | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 runqemu: print command search result when not found

This makes debug easier.

---
 scripts/runqemu | 3 +++
 1 file changed, 3 insertions(+)
scripts/runqemu +3 -0
index fe4459d..785421e 100755
@@ -908,6 +908,9 @@ class BaseConfig(object):
         lockdir = "/tmp/qemu-tap-locks"
 
         if not (self.qemuifup and self.qemuifdown and ip):
+            logger.error("runqemu-ifup: %s" % self.qemuifup)
+            logger.error("runqemu-ifdown: %s" % self.qemuifdown)
+            logger.error("ip: %s" % ip)
             raise OEPathError("runqemu-ifup, runqemu-ifdown or ip not found")
 
         if not os.path.exists(lockdir):
Signature · 1 line
2.7.4