[oe] [OE-core] fetch race problem

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 7 12:29:48 UTC 2015


On Tue, 2015-04-07 at 10:35 +0200, Steffen Sledz wrote:
> Am 24.03.2015 um 12:12 schrieb Richard Purdie:
> >>> Is this a problem in oe-core too (or oe-classic only)?
> >>
> >> Any ideas how to avoid such errors?
> > 
> > In theory bitbake has locks on files in DL_DIR, even for git
> > repositories so it should only touch the repo with one fetch process at
> > a time even if multiple recipes reference the same thing.
> > 
> > There were some big fetcher reworks in more recent versions of bitbake.
> > For OE-Classic, I'm guessing you're using an older version. You could
> > try transplanting the modern fetcher core onto your older bitbake I
> > guess.
> 
> I do not feel competent enough to try this.
> 
> Is it possible (in oe-classic) to mark two or more recipes (or single stages) to run exclusive?

do_fetch[depends] += "xxx:do_fetch"

in one recipe would make it run after the fetch of the other recipe
(xxx) ...

I will say that oe-classic is dead at this point, its not something I'd
recommend people to be working with.

Cheers,

Richard






More information about the Openembedded-devel mailing list