[OE-core] [Documentation][PATCH] Server comm: try connecting 4 times before giving up

2016-03-01 Thread Lucas Dutra Nunes
Instead of trying one time with a timeout of 20 seconds try 4 times with a timeout of 5 seconds, to account for a slow server start. Signed-off-by: Lucas Dutra Nunes <ldnu...@ossystems.com.br> --- bitbake/lib/bb/server/process.py | 10 ++ 1 file changed, 6 insertions(+), 4 del

[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

[OE-core] [oe-core][PATCH 1/2] cleanup-workdir: add a method for getting the build dir

2015-05-18 Thread Lucas Dutra Nunes
Signed-off-by: Lucas Dutra Nunes ldnu...@ossystems.com.br --- scripts/cleanup-workdir | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir index a7f5a3a..bf37f90 100755 --- a/scripts/cleanup-workdir +++ b/scripts/cleanup-workdir

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

2015-05-18 Thread Lucas Dutra Nunes
this problem. Signed-off-by: Lucas Dutra Nunes ldnu...@ossystems.com.br --- scripts/cleanup-workdir | 31 +++ 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir index bf37f90..3e1df1f 100755 --- a/scripts/cleanup