summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 136fc29c16..b853da30bd 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -1619,6 +1619,15 @@ class Fetch(object):
1619 logger.debug(1, "Trying PREMIRRORS") 1619 logger.debug(1, "Trying PREMIRRORS")
1620 mirrors = mirror_from_string(self.d.getVar('PREMIRRORS')) 1620 mirrors = mirror_from_string(self.d.getVar('PREMIRRORS'))
1621 localpath = try_mirrors(self, self.d, ud, mirrors, False) 1621 localpath = try_mirrors(self, self.d, ud, mirrors, False)
1622 if localpath:
1623 try:
1624 # early checksum verification so that if the checksum of the premirror
1625 # contents mismatch the fetcher can still try upstream and mirrors
1626 update_stamp(ud, self.d)
1627 except ChecksumError as e:
1628 logger.warning("Checksum failure encountered with premirror download of %s - will attempt other sources." % u)
1629 logger.debug(1, str(e))
1630 localpath = ""
1622 1631
1623 if premirroronly: 1632 if premirroronly:
1624 self.d.setVar("BB_NO_NETWORK", "1") 1633 self.d.setVar("BB_NO_NETWORK", "1")