summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-18 12:34:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-18 12:42:03 +0100
commit1e76c3c4c4164e884b5c474fa279a1f2f7e846f5 (patch)
tree8aee537d3933321ab3b7263ef6608ff4356731e5 /meta/classes/sanity.bbclass
parentb4391b6b8c14a9779b44c9909e6a7cac1ee351e6 (diff)
downloadopenembedded-core-1e76c3c4c4164e884b5c474fa279a1f2f7e846f5.tar.gz
openembedded-core-1e76c3c4c4164e884b5c474fa279a1f2f7e846f5.tar.bz2
openembedded-core-1e76c3c4c4164e884b5c474fa279a1f2f7e846f5.zip
sanity.bbclass: Disable the is DISTRO set check since we can now run distro-less
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 6bcfa96487..fc005aa90d 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 = ""