summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-07 14:40:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-07 21:28:59 +0100
commitbdd91aa3886fb9c1115e69bd4bf7d03bfaf0720b (patch)
tree9e94cfe8a32277c9c7ca1833c0def22c5871d9ec /bitbake
parentfc32855512c5fe8db6d2d9816a79c1ee6cfe0031 (diff)
downloadpoky-bdd91aa3886fb9c1115e69bd4bf7d03bfaf0720b.tar.gz
bitbake: fetch2: Ensure mirror tarballs don't enforce checksum
local file fetches now validate checksums. The checksums for mirror tarballs of repositories will not match so ignore these checksums. (Bitbake rev: 6424f4b7e9c1ba8db81346e8b3a806dd035d4551) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index e6dd79c4aa..893ec6f6bd 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -980,6 +980,7 @@ def build_mirroruris(origud, mirrors, ld):
980 980
981 try: 981 try:
982 newud = FetchData(newuri, ld) 982 newud = FetchData(newuri, ld)
983 newud.ignore_checksums = True
983 newud.setup_localpath(ld) 984 newud.setup_localpath(ld)
984 except bb.fetch2.BBFetchException as e: 985 except bb.fetch2.BBFetchException as e:
985 logger.debug("Mirror fetch failure for url %s (original url: %s)" % (newuri, origud.url)) 986 logger.debug("Mirror fetch failure for url %s (original url: %s)" % (newuri, origud.url))