aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-11-10 21:48:55 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-29 23:41:34 +0000
commita453639e19fb2a9f9fb63fddd0b3ee26c0116d91 (patch)
treeeb77b0ccb7f9566f5e9870488df3f73d532d8d02
parentc008fb8270209e790cc71b6a7ec776aef0a57c49 (diff)
downloadopenembedded-core-a453639e19fb2a9f9fb63fddd0b3ee26c0116d91.zip
openembedded-core-a453639e19fb2a9f9fb63fddd0b3ee26c0116d91.tar.gz
openembedded-core-a453639e19fb2a9f9fb63fddd0b3ee26c0116d91.tar.bz2
runqemu: print command search result when not found
This makes debug easier. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-xscripts/runqemu3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index cd94435..9cdabe8 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -912,6 +912,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):