diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-14 14:56:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 09:44:33 +0100 |
commit | 8ae762ada1f0d321de88c6d69b75c928ca5a6803 (patch) | |
tree | 635620fe9d36041bd27c38ad810ff2b23b794778 /meta/lib | |
parent | 26a786f86989ce47eac4eecec3b0798730194b05 (diff) | |
download | poky-8ae762ada1f0d321de88c6d69b75c928ca5a6803.tar.gz |
sstate: Ensure a given machine only removes things which it created
Currently if you build qemux86 and then generic86, the latter will
remove all of the former from deploy and workdir. This is because
qemux86 is i586, genericx86 is i686 and the architctures are compatible
therefore the sstate 'cleaup' code kicks in.
There was a valid reason for this to ensure i586 packages didn't get into
an i686 rootfs for example. With the rootfs creation being filtered now, this
is no longer necessary.
Instead, save out a list of stamps which a give machine has ever seen in
a given build and only clean up these things if they're no longer
"reachable".
In particular this means the autobuilder should no longer spend a load of time
deleting files when switching MACHINE, improving build times.
(From OE-Core rev: 5634f2fb1740732056d2c1a22717184ef94405bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions