]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: Disable the is DISTRO set check since we can now run distro-less
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 May 2011 11:34:07 +0000 (12:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 May 2011 11:42:03 +0000 (12:42 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass

index 6bcfa96487c4af08e7c39ffdf357d56ee55ac0fb..fc005aa90d15e269c83e1a9459727b14873aef57 100644 (file)
@@ -154,8 +154,8 @@ def check_sanity(e):
     
     # Check that the DISTRO is valid
     # need to take into account DISTRO renaming DISTRO
-    if not ( check_conf_exists("conf/distro/${DISTRO}.conf", e.data) or check_conf_exists("conf/distro/include/${DISTRO}.inc", e.data) ):
-        messages = messages + "DISTRO '%s' not found. Please set a valid DISTRO in your local.conf\n" % data.getVar("DISTRO", e.data, True )
+    #if not ( check_conf_exists("conf/distro/${DISTRO}.conf", e.data) or check_conf_exists("conf/distro/include/${DISTRO}.inc", e.data) ):
+    #    messages = messages + "DISTRO '%s' not found. Please set a valid DISTRO in your local.conf\n" % data.getVar("DISTRO", e.data, True )
 
     missing = ""