summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/distro_check.py
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-10-03 09:33:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-03 17:37:33 +0100
commit09aaad16be178bd675750aa6cfe7a373d7c9a8a6 (patch)
tree1d5a1d80254be776c5f3eee64620c34531f30c0e /meta/lib/oe/distro_check.py
parent73182ed4ea6d6d8a42acc6c611a0744c27c6d5db (diff)
downloadpoky-09aaad16be178bd675750aa6cfe7a373d7c9a8a6.tar.gz
distrodata: Update distrocheck functions
Fix the distro check functions for the change of nativesdk being a suffix to a prefix. Also added crosssdk as another case for converting to PN for matching in the distro_tracking (From OE-Core rev: ae9dbd0e1e26ba2b35cbd08ec731aee62adedc23) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/distro_check.py')
-rw-r--r--meta/lib/oe/distro_check.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py
index 455135e650..ad13d5e492 100644
--- a/meta/lib/oe/distro_check.py
+++ b/meta/lib/oe/distro_check.py
@@ -288,6 +288,12 @@ def compare_in_distro_packages_list(distro_check_dir, d):
288 bb.data.update_data(localdata) 288 bb.data.update_data(localdata)
289 recipe_name = pnstripped[0] 289 recipe_name = pnstripped[0]
290 290
291 if pn.startswith("nativesdk-"):
292 pnstripped = pn.split("nativesdk-")
293 localdata.setVar('OVERRIDES', "pn-" + pnstripped[1] + ":" + d.getVar('OVERRIDES', True))
294 bb.data.update_data(localdata)
295 recipe_name = pnstripped[1]
296
291 if pn.find("-cross") != -1: 297 if pn.find("-cross") != -1:
292 pnstripped = pn.split("-cross") 298 pnstripped = pn.split("-cross")
293 localdata.setVar('OVERRIDES', "pn-" + pnstripped[0] + ":" + d.getVar('OVERRIDES', True)) 299 localdata.setVar('OVERRIDES', "pn-" + pnstripped[0] + ":" + d.getVar('OVERRIDES', True))