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:56 +0000 (12:48 +0100)
We need to expand the COREBASE variable, no idea how these tests were
previously working at all...

(From OE-Core rev: 099063f353a7a18720c92d87400726a49eed432f)

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

index cf23982..2508aff 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: