mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
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>
This commit is contained in:
parent
d0640da88e
commit
7de56ebc2a
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user