diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-11-10 21:48:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-30 10:49:20 +0000 |
commit | 8082fd8d523e7aac8947569e622e30478cc5f546 (patch) | |
tree | 70ff947406fce94047475d74f85d1dbdc840d7ff | |
parent | dbe4694c5e85e36edd58f47a9eb16191b6430354 (diff) | |
download | poky-8082fd8d523e7aac8947569e622e30478cc5f546.tar.gz |
runqemu: print command search result when not found
This makes debug easier.
(From OE-Core rev: a453639e19fb2a9f9fb63fddd0b3ee26c0116d91)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/runqemu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index cd9443595b..9cdabe865b 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -912,6 +912,9 @@ class BaseConfig(object): | |||
912 | lockdir = "/tmp/qemu-tap-locks" | 912 | lockdir = "/tmp/qemu-tap-locks" |
913 | 913 | ||
914 | if not (self.qemuifup and self.qemuifdown and ip): | 914 | if not (self.qemuifup and self.qemuifdown and ip): |
915 | logger.error("runqemu-ifup: %s" % self.qemuifup) | ||
916 | logger.error("runqemu-ifdown: %s" % self.qemuifdown) | ||
917 | logger.error("ip: %s" % ip) | ||
915 | raise OEPathError("runqemu-ifup, runqemu-ifdown or ip not found") | 918 | raise OEPathError("runqemu-ifup, runqemu-ifdown or ip not found") |
916 | 919 | ||
917 | if not os.path.exists(lockdir): | 920 | if not os.path.exists(lockdir): |