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 10:07:23 +0100
commit189371f8393971d00bca0fceffd67cc07784f6ee (patch)
tree3b210e6773ea695a18db318f538e47842a1b9e2c /scripts/oe-check-sstate
parent8b35b032ed47e8f8a89bce354ffd82e0301043ac (diff)
downloadpoky-189371f8393971d00bca0fceffd67cc07784f6ee.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] (From OE-Core rev: 041212fa37bb83acac5ce4ceb9b7b77ad172c5c3) 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):
40 try: 40 try:
41 tinfoil.prepare(False) 41 tinfoil.prepare(False)
42 42
43 pkg_fn = tinfoil.cooker.recipecache.pkg_fn 43 recipecaches = tinfoil.cooker.recipecaches
44 outtasks = [] 44 outtasks = []
45 for task in tasks: 45 for task in tasks:
46 fn, taskname = task.rsplit(':', 1) 46 (mc, fn, taskname) = bb.runqueue.split_tid(task)
47 if taskname.endswith('_setscene'): 47 if taskname.endswith('_setscene'):
48 taskname = taskname[:-9] 48 taskname = taskname[:-9]
49 outtasks.append('%s:%s' % (pkg_fn[fn], taskname)) 49 outtasks.append('%s:%s' % (recipecaches[mc].pkg_fn[fn], taskname))
50 finally: 50 finally:
51 tinfoil.shutdown() 51 tinfoil.shutdown()
52 return outtasks 52 return outtasks