[oe-commits] Richard Purdie : sanity.bbclass: Fix COREBASE sanity tests

git at git.openembedded.org git at git.openembedded.org
Thu Jun 27 11:41:33 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 099063f353a7a18720c92d87400726a49eed432f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=099063f353a7a18720c92d87400726a49eed432f

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Jun 27 11:47:09 2013 +0000

sanity.bbclass: Fix COREBASE sanity tests

We need to expand the COREBASE variable, no idea how these tests were
previously working at all...

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/sanity.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index cf23982..2508aff 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -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:



More information about the Openembedded-commits mailing list