[OE-core] [PATCH] cooker: release lockfile on process exit
Otavio Salvador
otavio at ossystems.com.br
Tue May 19 21:24:49 UTC 2015
On Tue, May 19, 2015 at 6:07 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
...
> So having thought more about this, my proposal is actually that rather
> than fix this and cause all kinds of other potential problems, we just
> make memory resident bitbake the default which is something we'd like to
> ideally do in the 1.9 timeframe anyway.
I understand your background ideas here however the non-deterministic
lock release is driving us crazy at the autobuilder management. The
sstate cleanup script, workdir cleanup script and in-house scripts all
need to be teach to deal with this and this is far from optimal.
Would be acceptable for you a command line option to 'wait' it to
release the lock before exit? This could be done easily and we avoid
side effects. This also provide a solution which is isolated enough to
be safely backported for previous releases and provide more
deterministic script output.
How does it sounds?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-core
mailing list