diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2017-11-10 21:48:55 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:24:00 +0000 |
| commit | 7de56ebc2a7565329e5221a61eb4c899ac672bcf (patch) | |
| tree | fce683dac528be13ffa7b0ec098a8963c0c5dcb6 | |
| parent | d0640da88e1944ca35202030cdca3f2df0262a75 (diff) | |
| download | poky-7de56ebc2a7565329e5221a61eb4c899ac672bcf.tar.gz | |
runqemu: print command search result when not found
This makes debug easier.
(From OE-Core rev: b99ba567cd8089a9a3ca01704f6ba6c42d390e9f)
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>
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 7228384271..0b6daf2cf2 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): |
