[OE-core] [oe-core][PATCH 2/2] cleanup-workdir: wait for bitbake instances to finish

Anders Darander anders at chargestorm.se
Tue May 19 04:53:06 UTC 2015


* Otavio Salvador <otavio at ossystems.com.br> [150519 00:27]:

> On Mon, May 18, 2015 at 7:23 PM, Christopher Larson <clarson at kergoth.com> wrote:

> > On Mon, May 18, 2015 at 1:08 PM, Lucas Dutra Nunes <ldnunes at ossystems.com.br> wrote:

> >> bitbake uses a lock file on the build dir, "bitbake.lock", to prevent it
> >> from running before an instance has exited. And sometimes the
> >> cleanup-workdir script can call bibake too many times, too fast, before
> >> the lock has been released.

> >> By simply waiting that the lock has been released solves this problem.

> >> Signed-off-by: Lucas Dutra Nunes <ldnunes at ossystems.com.br>

> > The fact that the bitbake UI can exit before the lock has been
> > released is a bug. Not being able to assume bitbake is done by the
> > time the bitbake command exits is not ideal, no one should have to
> > block directly o the lock like this.

> Agreed so you would prefer this to be fixed there?

Sure, that would benefit everyone, not just this use-case.

Cheers,
Anders
-- 
Anders Darander
ChargeStorm AB / eStorm AB



More information about the Openembedded-core mailing list