From 6424f4b7e9c1ba8db81346e8b3a806dd035d4551 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 7 Sep 2022 14:40:18 +0100 Subject: 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. Signed-off-by: Richard Purdie --- lib/bb/fetch2/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index e6dd79c4a..893ec6f6b 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -980,6 +980,7 @@ def build_mirroruris(origud, mirrors, ld): try: newud = FetchData(newuri, ld) + newud.ignore_checksums = True newud.setup_localpath(ld) except bb.fetch2.BBFetchException as e: logger.debug("Mirror fetch failure for url %s (original url: %s)" % (newuri, origud.url)) -- cgit 1.2.3-korg