Re: [OE-core] [PATCH] cooker: release lockfile on process exit

2015-05-20 Thread Richard Purdie
On Tue, 2015-05-19 at 18:24 -0300, Otavio Salvador wrote: On Tue, May 19, 2015 at 6:07 PM, Richard Purdie richard.pur...@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

[OE-core] [PATCH] cooker: release lockfile on process exit

2015-05-19 Thread Lucas Dutra Nunes
This fixes problems caused by the bitbake process exiting without releasing the lockfile. This is most apparent while running scripts that call bitbake several times, like the cleanup-workdir script on oe-core. Signed-off-by: Lucas Dutra Nunes ldnu...@ossystems.com.br --- lib/bb/cooker.py | 4

Re: [OE-core] [PATCH] cooker: release lockfile on process exit

2015-05-19 Thread Richard Purdie
On Tue, 2015-05-19 at 11:14 -0300, Lucas Dutra Nunes wrote: This fixes problems caused by the bitbake process exiting without releasing the lockfile. This is most apparent while running scripts that call bitbake several times, like the cleanup-workdir script on oe-core. Signed-off-by: Lucas

Re: [OE-core] [PATCH] cooker: release lockfile on process exit

2015-05-19 Thread Otavio Salvador
On Tue, May 19, 2015 at 6:07 PM, Richard Purdie richard.pur...@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