* [PATCH 0/2] cache: Make EXCLUDE_FROM_WORLD boolean
@ 2023-03-27 14:48 Robert Yang
2023-03-27 14:48 ` [PATCH 1/2] " Robert Yang
2023-03-27 14:48 ` [PATCH 2/2] bitbake: bitbake-user-manual: Update EXCLUDE_FROM_WORLD Robert Yang
0 siblings, 2 replies; 3+ messages in thread
From: Robert Yang @ 2023-03-27 14:48 UTC (permalink / raw)
To: bitbake-devel
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(-)
--
2.32.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] cache: Make EXCLUDE_FROM_WORLD boolean
2023-03-27 14:48 [PATCH 0/2] cache: Make EXCLUDE_FROM_WORLD boolean Robert Yang
@ 2023-03-27 14:48 ` Robert Yang
2023-03-27 14:48 ` [PATCH 2/2] bitbake: bitbake-user-manual: Update EXCLUDE_FROM_WORLD Robert Yang
1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2023-03-27 14:48 UTC (permalink / raw)
To: bitbake-devel
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 world
EXCLUDE_FROM_WORLD = "0": Add back to world build
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
bitbake/lib/bb/cache.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index b309775bb9..10910a6809 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -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)
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] bitbake: bitbake-user-manual: Update EXCLUDE_FROM_WORLD
2023-03-27 14:48 [PATCH 0/2] cache: Make EXCLUDE_FROM_WORLD boolean Robert Yang
2023-03-27 14:48 ` [PATCH 1/2] " Robert Yang
@ 2023-03-27 14:48 ` Robert Yang
1 sibling, 0 replies; 3+ messages in thread
From: Robert Yang @ 2023-03-27 14:48 UTC (permalink / raw)
To: bitbake-devel
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
.../bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index a48e700030..25620fdda1 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -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::
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-27 14:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-27 14:48 [PATCH 0/2] cache: Make EXCLUDE_FROM_WORLD boolean Robert Yang
2023-03-27 14:48 ` [PATCH 1/2] " Robert Yang
2023-03-27 14:48 ` [PATCH 2/2] bitbake: bitbake-user-manual: Update EXCLUDE_FROM_WORLD Robert Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.