]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: Fix COREBASE sanity tests
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Jun 2013 11:47:09 +0000 (11:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Jun 2013 11:48:52 +0000 (12:48 +0100)
We need to expand the COREBASE variable, no idea how these tests were
previously working at all...

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass

index cf2398276e1b3db59c558f32f1731ff647f40948..2508aff79e861170ef535e047bfdf8aa67d3185a 100644 (file)
@@ -588,7 +588,7 @@ def check_sanity_everybuild(status, d):
         except:
             pass
 
-    oeroot = d.getVar('COREBASE')
+    oeroot = d.getVar('COREBASE', True)
     if oeroot.find('+') != -1:
         status.addresult("Error, you have an invalid character (+) in your COREBASE directory path. Please move the installation to a directory which doesn't include any + characters.")
     if oeroot.find('@') != -1: