diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-18 17:57:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-23 22:51:25 +0000 |
commit | 75c2c03416a7e3864fb18b31690815ab249e117b (patch) | |
tree | ea8a4b1d39380e1143c8a0a2cd7ffa378669b027 /meta/classes/packagegroup.bbclass | |
parent | 5372c7b54eca19476435fba18c82c48a9ffc8a74 (diff) | |
download | poky-75c2c03416a7e3864fb18b31690815ab249e117b.tar.gz |
sstate: Remove stale objects before the main build
The split of util-linux-uuid out from util-linux caused some interesting
sstate file overlap errors on existing build directories. This is a
challenge to handle since util-linux depends on util-linux-uuid and has
overlapping files in package data and deploy/packages directories.
The util-linux build happens later and is what would clean up those files
but it happens too late for uuid.
Fixing this is hard as we don't know the taskhashes until the task
graph is calculated. Once that is ready, we can compare the hashes
with the existing hashes and know which sstate tasks are "stale".
This patch adds a handler which iterates the sstate manifests looking
for matching stamp paths and then removes the manifests along with the
associated stamp files.
(From OE-Core rev: 60e77b1777c6c304aa1d629c4cfdabe0daa22eb1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/packagegroup.bbclass')
0 files changed, 0 insertions, 0 deletions