]> 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>
Sun, 27 Aug 2017 21:29:45 +0000 (22:29 +0100)
commitff3617cc2cd5618f48a25aa4e3b2014430fcbe23
tree6b05ac7e81133c958d3c97c412557024221a1a60
parent4898d1883ae300ade52633109fa7dc3f6e208e14
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass