[OE-core] Avoid race condition between do_unpack and do_deploy_archives in archiver.bbclass

Burton, Ross ross.burton at intel.com
Thu Aug 13 11:09:07 UTC 2015


On 13 August 2015 at 10:09, Clemens Lang <clemens.lang at bmw-carit.de> 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() will
create and cd to the default directory, so if that is ${B} then exec_func
will create ${B} before executing the function.

(I've a branch - ross/dirs - to remove this undesired OE-specific knowledge
in BitBake)

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150813/6faba883/attachment-0002.html>


More information about the Openembedded-core mailing list