[OE-core] [oe-core][PATCH 2/2] cleanup-workdir: wait for bitbake instances to finish
Christopher Larson
clarson at kergoth.com
Mon May 18 22:23:33 UTC 2015
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.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150518/15faed4f/attachment-0002.html>
More information about the Openembedded-core
mailing list