diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-07 14:40:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-07 14:47:32 +0100 |
commit | 6424f4b7e9c1ba8db81346e8b3a806dd035d4551 (patch) | |
tree | 966f0dda817658de57d1a7e401d70f11484e0727 | |
parent | 04014b8b2c3d7bb80d7d8dca97b7472f0e6b4ebb (diff) | |
download | bitbake-contrib-6424f4b7e9c1ba8db81346e8b3a806dd035d4551.tar.gz |
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 <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/fetch2/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |