diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-09-24 11:52:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-24 17:57:03 +0100 |
commit | f79b21a57b31363ce249ec538c1e71de4ed9dfcb (patch) | |
tree | 06635d1303b0b049d26023b7f015902cb25fa66a | |
parent | ebdc88aafd7fd7a955739486a26e54592f6067fb (diff) | |
download | ast2050-yocto-poky-f79b21a57b31363ce249ec538c1e71de4ed9dfcb.zip ast2050-yocto-poky-f79b21a57b31363ce249ec538c1e71de4ed9dfcb.tar.gz |
scripts/runqemu: write temp file into correct location
We want the temporary file to be written in /tmp not the current
directory.
(From OE-Core rev: fcb40c11998030eb5fce89ce5a9ca567870aafa9)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index efab1a2..eb950bc 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -340,7 +340,7 @@ setup_path_vars() { exit 1; } # We have bitbake in PATH, get the variable values from bitbake - BITBAKE_ENV_TMPFILE=`mktemp runqemu.XXXXXXXXXX` + BITBAKE_ENV_TMPFILE=`mktemp --tmpdir runqemu.XXXXXXXXXX` if [ "$?" != "0" ] ; then echo "Error: mktemp failed for bitbake environment output" exit 1 |