|
@@ -355,6 +355,9 @@ def sstate_installpkg(ss, d):
|
|
|
d.setVar('SSTATE_INSTDIR', sstateinst)
|
|
|
|
|
|
if bb.utils.to_boolean(d.getVar("SSTATE_VERIFY_SIG"), False):
|
|
|
+ if not os.path.isfile(sstatepkg + '.sig'):
|
|
|
+ bb.warn("No signature file for sstate package %s, skipping acceleration..." % sstatepkg)
|
|
|
+ return False
|
|
|
signer = get_signer(d, 'local')
|
|
|
if not signer.verify(sstatepkg + '.sig'):
|
|
|
bb.warn("Cannot verify signature on sstate package %s, skipping acceleration..." % sstatepkg)
|
|
@@ -733,10 +736,11 @@ def pstaging_fetch(sstatefetch, d):
|
|
|
localdata.setVar('SRC_URI', srcuri)
|
|
|
try:
|
|
|
fetcher = bb.fetch2.Fetch([srcuri], localdata, cache=False)
|
|
|
+ fetcher.checkstatus()
|
|
|
fetcher.download()
|
|
|
|
|
|
except bb.fetch2.BBFetchException:
|
|
|
- break
|
|
|
+ pass
|
|
|
|
|
|
def sstate_setscene(d):
|
|
|
shared_state = sstate_state_fromvars(d)
|