diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-09-20 13:40:48 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-21 13:27:35 +0100 |
commit | edb2a11994ac21e790155ea519bded4b37ef9307 (patch) | |
tree | c64a0b6ffa07626c1318c5c28a19c95f5bd35066 /meta/lib | |
parent | 924d2ce0326b17a18909ec9eea8b5f75e497301a (diff) | |
download | openembedded-core-edb2a11994ac21e790155ea519bded4b37ef9307.tar.gz openembedded-core-edb2a11994ac21e790155ea519bded4b37ef9307.tar.bz2 openembedded-core-edb2a11994ac21e790155ea519bded4b37ef9307.tar.xz openembedded-core-edb2a11994ac21e790155ea519bded4b37ef9307.zip |
distrodata: fix distro_check code
This fixes a problem with package names from inherits showing up
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/distro_check.py | 8 |
1 files changed, 4 insertions, 4 deletions
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(' ') |