summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-24 11:52:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-24 17:57:03 +0100
commitf79b21a57b31363ce249ec538c1e71de4ed9dfcb (patch)
tree06635d1303b0b049d26023b7f015902cb25fa66a
parentebdc88aafd7fd7a955739486a26e54592f6067fb (diff)
downloadpoky-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-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index efab1a27b3..eb950bc62d 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -340,7 +340,7 @@ setup_path_vars() {
340 exit 1; } 340 exit 1; }
341 341
342 # We have bitbake in PATH, get the variable values from bitbake 342 # We have bitbake in PATH, get the variable values from bitbake
343 BITBAKE_ENV_TMPFILE=`mktemp runqemu.XXXXXXXXXX` 343 BITBAKE_ENV_TMPFILE=`mktemp --tmpdir runqemu.XXXXXXXXXX`
344 if [ "$?" != "0" ] ; then 344 if [ "$?" != "0" ] ; then
345 echo "Error: mktemp failed for bitbake environment output" 345 echo "Error: mktemp failed for bitbake environment output"
346 exit 1 346 exit 1