]> code.ossystems Code Review - openembedded-core.git/commit
staging: Ensure dependencies are removed before being added
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Aug 2017 08:21:10 +0000 (09:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Aug 2017 21:29:45 +0000 (22:29 +0100)
commitadd4f107c151d32d9ea914bb0b93c3d3c17c776c
treef9bdc7b0e34c1c0894c83942c32c3e036133d143
parentff3617cc2cd5618f48a25aa4e3b2014430fcbe23
staging: Ensure dependencies are removed before being added

Currently items are added to the sysroot, the obsolete items are removed. If
a change such as pkgconfig -> pkgconf is made, this leads to conflicts of
overlapping files in the sysroot.

In order to better support this, handle removing items before adding them.
This requires some minor refactoring to construct the installed list
before the main function loop, otherwise there are no changes in this
patch other than reordering the operations.

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