[oe-commits] Richard Purdie : sanity.bbclass: Disable the is DISTRO set check since we can now run distro-less

git version control git at git.openembedded.org
Wed May 18 11:42:32 UTC 2011


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

Author: Richard  Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed May 18 12:34:07 2011 +0100

sanity.bbclass: Disable the is DISTRO set check since we can now run distro-less

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

---

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

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 6bcfa96..fc005aa 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -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 = ""
 





More information about the Openembedded-commits mailing list