]> code.ossystems Code Review - openembedded-core.git/commit
staging: Avoid sysroot removal races
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Aug 2017 22:30:39 +0000 (23:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Sep 2017 21:15:51 +0000 (22:15 +0100)
commit67438ac91a40429affc952ad1d7e92c763f52bab
treeb0e2785c0288ecefa4c7af098ec0cd4b4f1a7257
parentfcedfce43adad8659a1376bb28b1ed41e621dd53
staging: Avoid sysroot removal races

Currently a task could remove a dependency needed by another task leading
to build failures, often due to missing dependencies (e.g. dynamic libraries
not being found). This was often seen for all-arch recipes in package_write_rpm.

When removing a dependency, first check that no other task active for the
recipe has that same dependency.

(From OE-Core rev: ff3617cc2cd5618f48a25aa4e3b2014430fcbe23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3de078642925e720c2fca5b89cd3abb8b29d2439)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/staging.bbclass