summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/imagetest-qemu.bbclass1
-rw-r--r--meta/classes/sanity.bbclass6
2 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/imagetest-qemu.bbclass b/meta/classes/imagetest-qemu.bbclass
index 742b759208..feab868476 100644
--- a/meta/classes/imagetest-qemu.bbclass
+++ b/meta/classes/imagetest-qemu.bbclass
@@ -47,6 +47,7 @@ python do_qemuimagetest() {
47 os.environ["QEMUARCH"] = machine 47 os.environ["QEMUARCH"] = machine
48 os.environ["QEMUTARGET"] = pname 48 os.environ["QEMUTARGET"] = pname
49 os.environ["DISPLAY"] = bb.data.getVar("DISPLAY", d, True) 49 os.environ["DISPLAY"] = bb.data.getVar("DISPLAY", d, True)
50 os.environ["POKYBASE"] = bb.data.getVar("POKYBASE", d, True)
50 51
51 """run Test Case""" 52 """run Test Case"""
52 bb.note("Run %s test in scenario %s" % (case, scen)) 53 bb.note("Run %s test in scenario %s" % (case, scen))
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 94e96f8524..31b8dd2b07 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -194,11 +194,11 @@ def check_sanity(e):
194 f.write(current_abi) 194 f.write(current_abi)
195 f.close() 195 f.close()
196 196
197 oeroot = data.getVar('OEROOT', e.data) 197 oeroot = data.getVar('POKYBASE', e.data)
198 if oeroot.find ('+') != -1: 198 if oeroot.find ('+') != -1:
199 messages = messages + "Error, you have an invalid character (+) in your OEROOT directory path. Please more Poky to a directory which doesn't include a +." 199 messages = messages + "Error, you have an invalid character (+) in your POKYBASE directory path. Please more Poky to a directory which doesn't include a +."
200 elif oeroot.find (' ') != -1: 200 elif oeroot.find (' ') != -1:
201 messages = messages + "Error, you have a space in your OEROOT directory path. Please move Poky to a directory which doesn't include a space." 201 messages = messages + "Error, you have a space in your POKYBASE directory path. Please move Poky to a directory which doesn't include a space."
202 202
203 if messages != "": 203 if messages != "":
204 raise_sanity_error(messages) 204 raise_sanity_error(messages)