]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.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)
committerSteve Sakoman <steve@sakoman.com>
Sat, 11 Feb 2023 14:03:33 +0000 (04:03 -1000)
commit51c7e5c9f292278f5bdf35bdbd251c50482d55dc
tree6493a05e930c284fc2fa8eda5cfa6a2b53ce311f
parentcbb6344c583a4aaef6514120b4f38f376859368d
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>
(cherry picked from commit d5ea1a5396bf9fd4303cae46bc0e042be8de8d67)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes-global/sstate.bbclass