]> code.ossystems Code Review - openembedded-core.git/commit
staging: Fix overlapping file failures
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Apr 2020 16:17:39 +0000 (17:17 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 1 May 2020 20:12:13 +0000 (10:12 -1000)
commit86f36e3f93cdb2f5882b72e736a770aa6f46100d
tree0dbb6c9b2dd7594596f04e81006de32a77fe7fa2
parent31a8b4935e673aba8a1147c4a2fb510b1a8bc3ce
staging: Fix overlapping file failures

If there are different providers of a file and they are swiched when the
recipe isn't machine specific, we can get tracebacks due to the overlapping
files. The issue is that the previous provider isn't uninstalled since
the system can't tell whether some later task needs them.

By tracking which tasks we depend upon, the code can now choose to
uninstall more things since a later task can reinstall if/as needed.

The code here was to protect against code with two different tasks
running in parallel which is still protected agaisnt.

[YOCTO #13702]

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