[bitbake-devel] questions about bitbake world

Chris Larson clarson at kergoth.com
Tue Apr 10 13:58:09 UTC 2012


On Tue, Apr 10, 2012 at 1:24 AM, Robert Yang <liezhi.yang at windriver.com> wrote:
> In the following code:
>
> def buildWorldTargetList(self):
> ...
>        for f in self.status.possible_world:
>            terminal = True
>            pn = self.status.pkg_fn[f]
>
>            for p in pn_provides[pn]:
>                if p.startswith('virtual/'):
>                    parselog.debug(2, "World build skipping %s due to %s
> provider starting with virtual/", f, p)
>                    terminal = False
>                    break
> ...
>
> Does it mean that if a recipe contains:
>
> PROVIDES = "virtual/something"
>
> Then it would not be built until a pkg depends on it? Why we design it in
> this
> way, please?

The original intent with world was that when two recipes provided the
same thing, we'd still only want to build one of them, not both, as
building both can cause problems with stepping on one another in
sysroot, etc.
-- 
Christopher Larson




More information about the bitbake-devel mailing list