summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-11-10 07:29:14 +0800
committerRobert Yang <liezhi.yang@windriver.com>2017-11-10 21:39:16 +0800
commit9aea5e098481c8c13e41ebc027fcbe5ea0ab92a1 (patch)
tree5d82bb4bbdb9893c56a9e68a2abb94b4a3739f13
parentf706448952c942d25ea96cda09a700d2c5c63520 (diff)
downloadopenembedded-core-contrib-rbt/runqemu.tar.gz
openembedded-core-contrib-rbt/runqemu.tar.bz2
openembedded-core-contrib-rbt/runqemu.zip
runqemu: print command search result when not foundrbt/runqemu
This makes debug easier. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rwxr-xr-xscripts/runqemu3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index fe4459dfb8..785421ecbd 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -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):