diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-09-28 16:28:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-28 21:41:43 +0100 |
commit | 7d1e1018f4ae0a0bd25aef1987730deb170c7f03 (patch) | |
tree | 95742e7a7efe329c670080135a319afe3d789ce2 /meta/classes/imagetest-qemu.bbclass | |
parent | 47b1ea7b6f1b77c66ca71dea26719d989f3f5257 (diff) | |
download | poky-7d1e1018f4ae0a0bd25aef1987730deb170c7f03.tar.gz |
scripts: use OE_TMPDIR instead of TMPDIR external variable
On OpenSUSE within an X session, TMPDIR is set to the system temporary
directory (/tmp) which is incorrect for these scripts. Thus, change
runqemu and oe-setup-rpmrepo to use OE_TMPDIR from the external
environment rather than TMPDIR.
Fixes [YOCTO #1530]
(From OE-Core rev: 4e24c10952c7a52af7f2447595fd484692d35534)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/imagetest-qemu.bbclass')
-rw-r--r-- | meta/classes/imagetest-qemu.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/imagetest-qemu.bbclass b/meta/classes/imagetest-qemu.bbclass index 18798e025c..4ea86c04fe 100644 --- a/meta/classes/imagetest-qemu.bbclass +++ b/meta/classes/imagetest-qemu.bbclass | |||
@@ -70,7 +70,7 @@ def qemuimagetest_main(d): | |||
70 | os.environ["DISPLAY"] = bb.data.getVar("DISPLAY", d, True) | 70 | os.environ["DISPLAY"] = bb.data.getVar("DISPLAY", d, True) |
71 | os.environ["COREBASE"] = bb.data.getVar("COREBASE", d, True) | 71 | os.environ["COREBASE"] = bb.data.getVar("COREBASE", d, True) |
72 | os.environ["TOPDIR"] = bb.data.getVar("TOPDIR", d, True) | 72 | os.environ["TOPDIR"] = bb.data.getVar("TOPDIR", d, True) |
73 | os.environ["TMPDIR"] = bb.data.getVar("TMPDIR", d, True) | 73 | os.environ["OE_TMPDIR"] = bb.data.getVar("TMPDIR", d, True) |
74 | os.environ["TEST_STATUS"] = bb.data.getVar("TEST_STATUS", d, True) | 74 | os.environ["TEST_STATUS"] = bb.data.getVar("TEST_STATUS", d, True) |
75 | os.environ["TARGET_IPSAVE"] = bb.data.getVar("TARGET_IPSAVE", d, True) | 75 | os.environ["TARGET_IPSAVE"] = bb.data.getVar("TARGET_IPSAVE", d, True) |
76 | os.environ["TEST_SERIALIZE"] = bb.data.getVar("TEST_SERIALIZE", d, True) | 76 | os.environ["TEST_SERIALIZE"] = bb.data.getVar("TEST_SERIALIZE", d, True) |