We want the temporary file to be written in /tmp not the current
directory.

Signed-off-by: Paul Eggleton <[email protected]>
---
 scripts/runqemu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.8.1.2

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to