summaryrefslogtreecommitdiffstats
path: root/scripts/oe-check-sstate
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-16 18:00:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-18 09:27:56 +0100
commit041212fa37bb83acac5ce4ceb9b7b77ad172c5c3 (patch)
tree569a6f77cdc30948c645ac085321cfbdc8e37f18 /scripts/oe-check-sstate
parent857f4ca134e4575e71993b4fa255ebafec612d1e (diff)
downloadopenembedded-core-contrib-041212fa37bb83acac5ce4ceb9b7b77ad172c5c3.tar.gz
devtool/recipetool/meta: Adapt to bitbake API changes for multi-configuration builds
Unfortunately to implenent multiconfig support in bitbake some APIs had to change. This updates code in OE to match the changes in bitbake. Its mostly periperhal changes around devtool/recipetool [Will need a bitbake version requirement bump which I'll make when merging] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-check-sstate')
-rwxr-xr-xscripts/oe-check-sstate6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/oe-check-sstate b/scripts/oe-check-sstate
index 8aab86adb3..d06efe436a 100755
--- a/scripts/oe-check-sstate
+++ b/scripts/oe-check-sstate
@@ -40,13 +40,13 @@ def translate_virtualfns(tasks):
try:
tinfoil.prepare(False)
- pkg_fn = tinfoil.cooker.recipecache.pkg_fn
+ recipecaches = tinfoil.cooker.recipecaches
outtasks = []
for task in tasks:
- fn, taskname = task.rsplit(':', 1)
+ (mc, fn, taskname) = bb.runqueue.split_tid(task)
if taskname.endswith('_setscene'):
taskname = taskname[:-9]
- outtasks.append('%s:%s' % (pkg_fn[fn], taskname))
+ outtasks.append('%s:%s' % (recipecaches[mc].pkg_fn[fn], taskname))
finally:
tinfoil.shutdown()
return outtasks