]> code.ossystems Code Review - openembedded-core.git/commit
staging: Remove uninstalled dependencies from sysroots
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 16:35:30 +0000 (16:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 22:28:56 +0000 (22:28 +0000)
commit06227bc5e533841ab12cde84a6ed6f8b8ddeb5cb
tree85dc2572a5374bf43c3dd3f94639847c8d80c4ce
parente59dc6985e22e7ac30b6afa81d448fbc372f5dab
staging: Remove uninstalled dependencies from sysroots

Currently, if something is added to a sysroot, its hash remains unchanged,
and it continues to be buildable, it doesn't get removed from the sysroot.

This patch handles the case where something is removed from DEPENDS or
[depends].

It does introduce its own issue where something could get removed even
though some other task in parallel may have the same requirement. This
case should be extrememly rare and fixing the more common DEPENDS removal
is likely the bigger win though.

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