]> code.ossystems Code Review - openembedded-core.git/commit
staging: Allow removal of stale sysroot objects
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Jan 2017 16:55:24 +0000 (16:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 28 Jan 2017 23:31:17 +0000 (23:31 +0000)
commit7656347c556915dc9acc5a2311ec4e879de6f43d
tree6b1aa7a04514e535cbbc54fa3b1a0495f09f9c10
parent1cb245a99762e21a170b6a9beabb07e558424946
staging: Allow removal of stale sysroot objects

The main sysroot components of unreachable build targets will be removed by the core
code. This currently doesn't trigger a removal in the individual workdirs. This
adds in symlinking between the complete stamps and the component sysroot meaning
we can detect when someting was removed and hence remove it from the sysroot.

This fixes cases where DISTRO_FEATURES like systemd are changed amongst other
things and makes builds more robust against configuration changes.

If a dependency is rebuild, that is caught by checksum comparision code elsewhere
in this function as before.

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