diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-10-03 09:33:16 -0700 |
---|---|---|
committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2012-11-29 12:00:17 +0100 |
commit | 4b36675db5e2c7fe733d4c782059657e582880fc (patch) | |
tree | 42c2a1b6358a3356b85e53a642bc7bb3328bdd5b /meta/lib | |
parent | 4f8ec1a8d87bf2f0cdb3610d4c4dc9cbe31d6810 (diff) | |
download | openembedded-core-contrib-4b36675db5e2c7fe733d4c782059657e582880fc.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
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/distro_check.py | 6 |
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): bb.data.update_data(localdata) recipe_name = pnstripped[0] + if pn.startswith("nativesdk-"): + pnstripped = pn.split("nativesdk-") + localdata.setVar('OVERRIDES', "pn-" + pnstripped[1] + ":" + d.getVar('OVERRIDES', True)) + bb.data.update_data(localdata) + recipe_name = pnstripped[1] + if pn.find("-cross") != -1: pnstripped = pn.split("-cross") localdata.setVar('OVERRIDES', "pn-" + pnstripped[0] + ":" + d.getVar('OVERRIDES', True)) |