aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/contrib/devtool-stress.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-08-31 13:48:06 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:43 +0100
commit95b6ceffd947271f315d8a7660797ab371adfbb9 (patch)
tree6b083567477fbd9658295540ef15bfcd8d73dd04 /scripts/contrib/devtool-stress.py
parenteed586dd238efe859442b21b425f04e262bcdb2b (diff)
downloadopenembedded-core-contrib-95b6ceffd947271f315d8a7660797ab371adfbb9.tar.gz
openembedded-core-contrib-95b6ceffd947271f315d8a7660797ab371adfbb9.tar.bz2
openembedded-core-contrib-95b6ceffd947271f315d8a7660797ab371adfbb9.zip
scripts/contrib: update scripts for changes to internal API
The multiconfig changes altered some of the functions being called here, so update the calls. Make use of the new Tinfoil.parse_recipe_file() function to make parsing easier. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib/devtool-stress.py')
-rwxr-xr-xscripts/contrib/devtool-stress.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/contrib/devtool-stress.py b/scripts/contrib/devtool-stress.py
index 7ba0984238..d555c51a65 100755
--- a/scripts/contrib/devtool-stress.py
+++ b/scripts/contrib/devtool-stress.py
@@ -43,15 +43,15 @@ def select_recipes(args):
tinfoil = bb.tinfoil.Tinfoil()
tinfoil.prepare(False)
- pkg_pn = tinfoil.cooker.recipecache.pkg_pn
- (latest_versions, preferred_versions) = bb.providers.findProviders(tinfoil.config_data, tinfoil.cooker.recipecache, pkg_pn)
+ pkg_pn = tinfoil.cooker.recipecaches[''].pkg_pn
+ (latest_versions, preferred_versions) = bb.providers.findProviders(tinfoil.config_data, tinfoil.cooker.recipecaches[''], pkg_pn)
skip_classes = args.skip_classes.split(',')
recipelist = []
for pn in sorted(pkg_pn):
pref = preferred_versions[pn]
- inherits = [os.path.splitext(os.path.basename(f))[0] for f in tinfoil.cooker.recipecache.inherits[pref[1]]]
+ inherits = [os.path.splitext(os.path.basename(f))[0] for f in tinfoil.cooker.recipecaches[''].inherits[pref[1]]]
for cls in skip_classes:
if cls in inherits:
break