diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-04 17:27:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-07 11:45:25 +0000 |
commit | e3e5ace6e68d5fe68e4add301a44c1a1b8607411 (patch) | |
tree | 5d9c17b27653abd74e4d02cceff978ae6be864d4 /LICENSE | |
parent | ccb65286b955d44dacd5fc794851a0c313d116a6 (diff) | |
download | openembedded-core-contrib-e3e5ace6e68d5fe68e4add301a44c1a1b8607411.tar.gz |
staging: Handle files moving between dependencies
Currently, if files move between recipes, do_prepare_sysroot can fail with a message like
Exception: FileExistsError: [Errno 17] File exists:
'TMPDIR/sysroots-components/core2-64/libx11/usr/include/X11/extensions/XKBgeom.h' ->
'TMPDIR/work/core2-64-poky-linux/gtk+3/3.24.8-r0/recipe-sysroot/usr/include/X11/extensions/XKBgeom.h'
This is because files are removed and then added per package. What needs to
happen is all removes need to be processed, then all additions.
This patch changes the code to process in two phases, removals first, then additions,
which avoids the problem.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions