summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/simplediff/__init__.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-01 10:06:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-09-05 12:54:25 +0100
commit58c42911d452e57505b08915618723961df5ef89 (patch)
tree9dcf92f76035e745bc3af153df49b405e083a0d2 /bitbake/lib/simplediff/__init__.py
parentd2420daacfefba20d26500e0b053855caff62238 (diff)
downloadpoky-58c42911d452e57505b08915618723961df5ef89.tar.gz
bitbake: wget: Avoid bad checksum race issues
If two recipes have conflicting checksums for a file, the code will currently remove the existing file when a mismatch is downloaded, even if another task successfully fetched it. This changes the code to verify the checksum (if possible) before replacing the file. This removes a potential race window and stops builds failing everywhere from one incorrect checksum. To make this work, we need to be able to override localpath and avoid NoChecksum errors being logged. (Bitbake rev: 4b8de2e7d12667d69d86ffe6e9f85a7932c4c9a5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/simplediff/__init__.py')
0 files changed, 0 insertions, 0 deletions