diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-20 17:17:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-26 14:00:50 +0100 |
commit | 3e9cdd878887d0e59754447f313c39d142b71971 (patch) | |
tree | cb561940dcaa9a4116cc535c167af37e342ae5b0 /scripts/lib/wic/partition.py | |
parent | f135cb36596d9cc8996277f49b296b9f73b76b73 (diff) | |
download | poky-3e9cdd878887d0e59754447f313c39d142b71971.tar.gz |
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]
(From OE-Core rev: 9d8e6daa866d2f19b2a6324072b984a866715426)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/partition.py')
0 files changed, 0 insertions, 0 deletions