aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2018-08-29 11:21:50 -0400
committerMark Hatle <mark.hatle@windriver.com>2018-09-20 11:09:14 -0400
commitb6ea045a972928fc99a72596823b4f8a7ef07000 (patch)
tree51ab152105b364e6d06f1478f7365c02088021bb
parent3c23351b340eac2b599a79d5880864e1fb034af3 (diff)
downloadbitbake-contrib-b6ea045a972928fc99a72596823b4f8a7ef07000.tar.gz
WIP
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rwxr-xr-xbin/bitbake-layers2
-rw-r--r--lib/bblayerlib/__init__.py5
-rw-r--r--lib/bblayers/query.py6
3 files changed, 7 insertions, 6 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index d184011ea..dfa95c1b3 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -68,7 +68,7 @@ def main():
tinfoil = bb.tinfoil.Tinfoil(tracking=True)
tinfoil.logger.setLevel(logger.getEffectiveLevel())
try:
- tinfoil.prepare(True)
+ tinfoil.prepare(True, extra_features=bb.cooker.CookerFeatures.HOB_EXTRA_CACHES)
for path in ([topdir] +
tinfoil.config_data.getVar('BBPATH').split(':')):
pluginpath = os.path.join(path, 'lib', 'bblayers')
diff --git a/lib/bblayerlib/__init__.py b/lib/bblayerlib/__init__.py
index 4e61db8b1..d685957a1 100644
--- a/lib/bblayerlib/__init__.py
+++ b/lib/bblayerlib/__init__.py
@@ -279,6 +279,11 @@ class BBLayers():
continue
inherits.append(classname)
+ recipe_info = tinfoil.get_recipe_info(pn)
+
+ if recipe_info:
+ logger.plain('recipe info: %s' % recipe_info._recipecache._cache.keys())
+
if not full:
recipe_data = self.data.createCopy()
recipe_data.setVar("PN", pn)
diff --git a/lib/bblayers/query.py b/lib/bblayers/query.py
index e15fced3c..23ab8ceec 100644
--- a/lib/bblayers/query.py
+++ b/lib/bblayers/query.py
@@ -128,11 +128,7 @@ skipped recipes will also be listed, with a " (skipped)" suffix.
bblayers = bblayerlib.BBLayers(self.tinfoil.config_data)
index = bblayers.load_bblayers()
- index = bblayers.load_recipes(tinfoil=self.tinfoil, full=False)
-
- for id, recipe in index.recipes.items():
- logger.plain('%s' % (recipe._data))
-
+ index = bblayers.load_recipes(tinfoil=self.tinfoil, full=True)
sys.exit(1)