On 14 August 2015 at 07:27, Clemens Lang wrote:
> I see this in the code, but my error messages speak a very different
> language. Maybe it's a race condition with do_unpack, which actually
> deletes and re-creates these directories again? In any case, there is a
> race condition that causes the
On Thu, Aug 13, 2015 at 12:09:07PM +0100, Burton, Ross wrote:
> I'm not sure I follow this. Functions are executed using exec_func()
> will create and cd to the default directory, so if that is ${B} then
> exec_func will create ${B} before executing the function.
I see this in the code, but my er
On 13 August 2015 at 10:09, Clemens Lang wrote:
> Because do_deploy_archives does not specify a working directory, it
> defaults to $B, which does not exist when do_deploy_archives is run in
> parallel (or before) do_unpack.
>
I'm not sure I follow this. Functions are executed using exec_func()
Hi,
the following patch fixes a race condition in archiver.bbclass that can
occur when a very specific set of preconditions is fulfilled:
- a recipe sets $S to a directory that will be created by do_unpack
- $B is at its default value of $S
- the license of the recipe is in COPYLEFT_LICENSE_EXC