cache: Make EXCLUDE_FROM_WORLD boolean
cover cache: Make EXCLUDE_FROM_WORLD boolean
The following changes since commit a94ca827c2066b22c746003f5144b89d28b13a1a:
yocto-bsp/5.15: update to v5.15.103 (2023-03-26 18:51:03 +0100)
are available in the Git repository at:
https://github.com/robertlinux/yocto rbt/world
https://github.com/robertlinux/yocto/tree/rbt/world
Robert Yang (2):
cache: Make EXCLUDE_FROM_WORLD boolean
bitbake: bitbake-user-manual: Update EXCLUDE_FROM_WORLD
.../bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 2 +- bitbake/lib/bb/cache.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.32.0
PATCH 1/2 cache: Make EXCLUDE_FROM_WORLD boolean
Fixed:
Set EXCLUDE_FROM_WORLD = "0" in recipe_A:
$ bitbake world -g
Check pn-buildlist, the recipe_A won't be built, this patch fixes the problem:EXCLUDE_FROM_WORLD = "1": Not build in worldEXCLUDE_FROM_WORLD = "0": Add back to world build
--- bitbake/lib/bb/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/cache.py +1 -1
@@ -216,7 +216,7 @@ class CoreRecipeInfo(RecipeInfoCommon): # Collect files we may need for possible world-dep # calculations - if not self.not_world: + if not bb.utils.to_boolean(self.not_world): cachedata.possible_world.append(fn) #else: # logger.debug2("EXCLUDE FROM WORLD: %s", fn)
Signature · 1 line
2.32.0
PATCH 2/2 bitbake: bitbake-user-manual: Update EXCLUDE_FROM_WORLD
In reply to Robert Yang--- .../bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +1 -1
@@ -990,7 +990,7 @@ overview of their function and contents. ``bblayers.conf`` configuration file. To exclude a recipe from a world build using this variable, set the - variable to "1" in the recipe. + variable to "1" in the recipe. Set it to "0" to add it back to world build. .. note::
Signature · 1 line
2.32.0