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-12-04 17:14:35 +0000
commitb99ba567cd8089a9a3ca01704f6ba6c42d390e9f (patch)
treedc3bfe4cb7ceb05ab1959e99b27a8adba3edcb22
parent9870247d0dc33357988d9636c8ff8db35490752e (diff)
downloadopenembedded-core-b99ba567cd8089a9a3ca01704f6ba6c42d390e9f.zip
openembedded-core-b99ba567cd8089a9a3ca01704f6ba6c42d390e9f.tar.gz
openembedded-core-b99ba567cd8089a9a3ca01704f6ba6c42d390e9f.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> (cherry picked from commit a453639e19fb2a9f9fb63fddd0b3ee26c0116d91) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rwxr-xr-xscripts/runqemu3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 7228384..0b6daf2 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):