]> code.ossystems Code Review - openembedded-core.git/commit
sstate: Ensure siginfo and sig files are also touched
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Nov 2015 11:52:06 +0000 (11:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Nov 2015 08:08:51 +0000 (08:08 +0000)
commit80b3974081c4a8c604e23982a6db8fb32c616058
tree9b993f4069daea3916c7e6289ad35c8280ea3103
parente98d01c1ca060ad984d7a14a3f56fe049812df44
sstate: Ensure siginfo and sig files are also touched

Maintaining an sstate mirror is complicated at the moment as only the main
sstate tgz files have their timestamp updated when they're used.

This causes problems as the siginfo files can be removed from the server
due to inactivity but the sstate fetch code tries to fetch them leading
to confusing warnings and reduced debug capability.

This change ensures we touch any sig/siginfo files present and should
help ageing of the objects on sstate mirrors. It doesn't handle the intermediate
task siginfo files but those are never fetched by the current sstate code
so are an order of magnitude less problematic.

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