]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
sstate.bbclass: Fetch non-existing local .sig files if needed
authorTobias Hagelborn <tobias.hagelborn@axis.com>
Mon, 30 Jan 2023 14:20:25 +0000 (15:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Feb 2023 10:26:57 +0000 (10:26 +0000)
commitd5ea1a5396bf9fd4303cae46bc0e042be8de8d67
treed134ed522f8746af5f16069b047e4d4204db46b1
parenta07008da8b02165d271a457e4c215f35cb15b94c
sstate.bbclass: Fetch non-existing local .sig files if needed

For the case of a global shared state cache and a local sstate cache
with a mix of signed and un-signed entries, there is a case where
a .sig is missing locally, but may exist in the global sstate cache.

For this case, do not just fail sstate fetch, but rather backfill
the .sig file from the global sstate cache.

If this case is detected, re-run the fetch operation to get the
global .sig file (if it exists).

Signed-off-by: Tobias Hagelborn <tobias.hagelborn@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/sstate.bbclass