Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] [RFC/RFT] Shorten file names in sstate-cache
@ 2019-01-11 16:44 Paul Barker
  2019-01-11 16:44 ` [PATCH 1/1] [RFC/RFT] sstate: " Paul Barker
  2019-01-11 17:05 ` ✗ patchtest: failure for " Patchwork
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Barker @ 2019-01-11 16:44 UTC (permalink / raw)
  To: openembedded-core

As discussed briefly on IRC earlier in the week, here's a patch which attempts
to shorten the file name lengths seen in the sstate cache whilst retaining as
much useful human-readable info as possible.

This has been tested locally by building, wiping out tmp and then re-building to
confirm that sstate was still re-used correctly. I'm not an expert on sstate
internals though so please feed back with any comments or further testing that
should be done before this is merged to master.

I'd also like to know if there's a simpler method of limiting the length of a
variable expansion so that the python function limit_sstate_frag() can be
dropped.

Paul Barker (1):
  sstate: Shorten file names in sstate-cache

 meta/classes/sstate.bbclass | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.17.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-12 16:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-11 16:44 [PATCH 0/1] [RFC/RFT] Shorten file names in sstate-cache Paul Barker
2019-01-11 16:44 ` [PATCH 1/1] [RFC/RFT] sstate: " Paul Barker
2019-01-12 16:20   ` Richard Purdie
2019-01-11 17:05 ` ✗ patchtest: failure for " Patchwork
2019-01-11 17:16   ` Paul Barker
2019-01-11 19:06     ` Michael Halstead

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox