]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: report error if TMPDIR cannot be determined
authorScott Garman <scott.a.garman@intel.com>
Sat, 23 Jul 2011 01:23:27 +0000 (18:23 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2011 11:38:42 +0000 (12:38 +0100)
commitab5544ac801a976b56468ade0f5d2e95c11feb87
tree24a688a3a94092f07f7b19382bf8ddbfc6e272fe
parentb3e68f112cff5f15b5245582eee7e087acbad2fa
runqemu: report error if TMPDIR cannot be determined

Invoking runqemu outside of the build directory for an
in-tree setup results in an empty TMPDIR because bitbake -e
cannot be run to find it.

A symptom of this problem is running runqemu and getting the
following error:

Error: Unable to find tunctl binary in <directory>

Catch this case and report the error to the user.

This fixes [YOCTO #1278]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
scripts/runqemu