]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: count the files on mirrors using the pre local files
authorJose Quaresma <quaresma.jose@gmail.com>
Sun, 3 Oct 2021 21:54:05 +0000 (22:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Oct 2021 16:41:46 +0000 (17:41 +0100)
commit0fe71f31593e87b9188b388860d2ba94bf8266bc
treed570989b9889ded7e9dd75d6bbefbe3e7f803e95
parentabf13cf886a50429b15d46e414112646cd935c2e
sstate.bbclass: count the files on mirrors using the pre local files

We don't need extra python collections to count the found files
on the sstate cache and sstate mirrors.

The main found collections provides all the files that were found.
Then we only need to store the nunber of files that found on the
local sstate cache and the files that found on the sstate cache
mirror is derived from that.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass