* [PATCH] sstate: Fix sstate file mirroring checksum issue
@ 2022-09-07 13:46 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2022-09-07 13:46 UTC (permalink / raw)
To: openembedded-core
After a recent fix in bitbake, the checksums may be checked for local file
fetches at an earlier code point. The underlying recipe checksums won't
match sstate values so ensure these aren't set via SRC_URI flags when
reconfiguring the fetch for sstate.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
meta/classes-global/sstate.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass
index cd77c58dbf8..2c8e7b8cc23 100644
--- a/meta/classes-global/sstate.bbclass
+++ b/meta/classes-global/sstate.bbclass
@@ -784,6 +784,7 @@ def pstaging_fetch(sstatefetch, d):
uris += ['file://{0}.sig;downloadfilename={0}.sig'.format(sstatefetch)]
for srcuri in uris:
+ localdata.delVar('SRC_URI')
localdata.setVar('SRC_URI', srcuri)
try:
fetcher = bb.fetch2.Fetch([srcuri], localdata, cache=False)
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-07 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-07 13:46 [PATCH] sstate: Fix sstate file mirroring checksum issue Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox