From 189371f8393971d00bca0fceffd67cc07784f6ee Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 16 Aug 2016 18:00:13 +0100 Subject: 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 --- scripts/oe-check-sstate | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/oe-check-sstate') 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 -- cgit v1.2.3-54-g00ecf