summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-04 17:27:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-07 11:45:25 +0000
commite3e5ace6e68d5fe68e4add301a44c1a1b8607411 (patch)
tree5d9c17b27653abd74e4d02cceff978ae6be864d4 /meta/classes/sstate.bbclass
parentccb65286b955d44dacd5fc794851a0c313d116a6 (diff)
downloadopenembedded-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 'meta/classes/sstate.bbclass')
0 files changed, 0 insertions, 0 deletions