From edb2a11994ac21e790155ea519bded4b37ef9307 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 20 Sep 2011 13:40:48 -0700 Subject: distrodata: fix distro_check code This fixes a problem with package names from inherits showing up Signed-off-by: Saul Wold --- meta/lib/oe/distro_check.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/lib') diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py index 55cdcad46..4721355bd 100644 --- a/meta/lib/oe/distro_check.py +++ b/meta/lib/oe/distro_check.py @@ -73,9 +73,9 @@ def clean_package_list(package_list): def get_latest_released_meego_source_package_list(): "Returns list of all the name os packages in the latest meego distro" - if not os.path.isfile("/tmp/Meego-1.0"): - os.mknod("/tmp/Meego-1.0") - f = open("/tmp/Meego-1.0", "r") + if not os.path.isfile("/tmp/Meego-1.1"): + os.mknod("/tmp/Meego-1.1") + f = open("/tmp/Meego-1.1", "r") package_names = [] for line in f: package_names.append(line[:-1] + ":" + "main") # Also strip the '\n' at the end @@ -303,7 +303,7 @@ def compare_in_distro_packages_list(distro_check_dir, d): bb.note("Recipe: %s" % recipe_name) tmp = bb.data.getVar('DISTRO_PN_ALIAS', localdata, True) - distro_exceptions = dict({"OE-Core":'OE-Core', "OpenedHand":'OpenedHand', "Intel":'Intel', "Upstream":'Upstream', "WindRiver":'Windriver', "OSPDT":'OSPDT Approved', "Poky":'poky'}) + distro_exceptions = dict({"OE-Core":'OE-Core', "OpenedHand":'OpenedHand', "Intel":'Intel', "Upstream":'Upstream', "Windriver":'Windriver', "OSPDT":'OSPDT Approved', "Poky":'poky'}) if tmp: list = tmp.split(' ') -- cgit v1.2.3