]> code.ossystems Code Review - openembedded-core.git/commit
uninative: check .done file instead of tarball
authorStefan Agner <stefan.agner@toradex.com>
Fri, 11 Oct 2019 09:06:59 +0000 (11:06 +0200)
committerArmin Kuster <akuster808@gmail.com>
Sat, 26 Oct 2019 06:44:33 +0000 (23:44 -0700)
commit956ae2c2a72914c7e9a1d59e5906c7fc75670a39
tree326c8c554bcc4e65239a076e8e05b1213312dee3
parent95d3ca54453cdb0662fae2a2cf7e8173611c86f4
uninative: check .done file instead of tarball

In case multiple builds share UNINATIVE_DLDIR's location, one build
might be in the process of downloading the tarball while another is
just checking whether the tarball exists. Check for the done file
instead and rely on the fetchers lockfile mechanism in case two
builds are running.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a1c95580549cb4f77601e62c7f026b19c752d853)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/uninative.bbclass