Skip to contentSkip to conversation

cache.py: print debug info when EXCLUDE_FROM_WORLD

PATCH New Robert Yang 1 participant 2 messages Jun 6, 2014

lore
Share & tools
lore
#0 lore raw

cover cache.py: print debug info when EXCLUDE_FROM_WORLD

The following changes since commit 66d5be204fd339cc84a0ae92d3923a8c1e6f1389:

bitbake: bitbake: show wildcard appends for bitbake-layers (2014-06-06 10:33:19 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib rbt/exworld
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/exworld

Robert Yang (1):
cache.py: print debug info when EXCLUDE_FROM_WORLD

 bitbake/lib/bb/cache.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 cache.py: print debug info when EXCLUDE_FROM_WORLD

This gives us an easy way to find out which recipes have been excluded from world when there are many layers.

---
 bitbake/lib/bb/cache.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
bitbake/lib/bb/cache.py +3 -1
index 38e9148..936829b 100644
@@ -232,7 +232,9 @@ class CoreRecipeInfo(RecipeInfoCommon):
 
         # Collect files we may need for possible world-dep
         # calculations
-        if not self.not_world:
+        if self.not_world:
+            logger.debug(1, "EXCLUDE FROM WORLD: %s", fn)
+        else:
             cachedata.possible_world.append(fn)
 
         # create a collection of all targets for sanity checking
Signature · 1 line
1.7.10.4