mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
sanity.bbclass: Disable the is DISTRO set check since we can now run distro-less
(From OE-Core rev: 1e76c3c4c4164e884b5c474fa279a1f2f7e846f5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user