From: Robert Yang Date: Thu, 9 Nov 2017 23:29:14 +0000 (+0800) Subject: runqemu: print command search result when not found X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9aea5e098481c8c13e41ebc027fcbe5ea0ab92a1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git runqemu: print command search result when not found This makes debug easier. Signed-off-by: Robert Yang --- diff --git a/scripts/runqemu b/scripts/runqemu index fe4459dfb84..785421ecbd1 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -908,6 +908,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):