]> code.ossystems Code Review - openembedded-core.git/commit
sstate: Add extra directory level
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Jan 2020 18:03:35 +0000 (18:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jan 2020 23:53:54 +0000 (23:53 +0000)
commitd05bde16bdad761ed8f4c0a48de60c649aa33e85
treead872406f4fc1163a0e1f81ec7d4fe49f71ff38c
parent5115d2616b0847d521ccbecf1fbbf1f695a04fea
sstate: Add extra directory level

We're having speed issues on the autobuilder due to the numbers of files in sstate
directories. We previously split these by the first two characters of the hash.
This change extends this to split by the next two characters as well, creating
more layers of directories.

This should signifiantly speed up eSDK builds on the autobuilder as the current
sstate layout simply isn't scaling there but addresses a general complaint.

gen-lockedsig-cache needed to be updated for the new split level sstate.

Also update tests for new layout.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass
meta/lib/oeqa/selftest/cases/signing.py
meta/lib/oeqa/selftest/cases/sstate.py
scripts/gen-lockedsig-cache