diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 77313bcfbc..50729bf750 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -615,9 +615,12 @@ def pstaging_fetch(sstatefetch, sstatepkg, d): | |||
615 | 615 | ||
616 | # Try a fetch from the sstate mirror, if it fails just return and | 616 | # Try a fetch from the sstate mirror, if it fails just return and |
617 | # we will build the package | 617 | # we will build the package |
618 | for srcuri in ['file://{0}'.format(sstatefetch), | 618 | uris = ['file://{0}'.format(sstatefetch), |
619 | 'file://{0}.siginfo'.format(sstatefetch), | 619 | 'file://{0}.siginfo'.format(sstatefetch)] |
620 | 'file://{0}.sig'.format(sstatefetch)]: | 620 | if bb.utils.to_boolean(d.getVar("SSTATE_VERIFY_SIG", True), False): |
621 | uris += ['file://{0}.sig'.format(sstatefetch)] | ||
622 | |||
623 | for srcuri in uris: | ||
621 | localdata.setVar('SRC_URI', srcuri) | 624 | localdata.setVar('SRC_URI', srcuri) |
622 | try: | 625 | try: |
623 | fetcher = bb.fetch2.Fetch([srcuri], localdata, cache=False) | 626 | fetcher = bb.fetch2.Fetch([srcuri], localdata, cache=False) |