summaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/context.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-30 17:55:49 +0100
committerSteve Sakoman <steve@sakoman.com>2024-06-24 06:46:52 -0700
commit2d92aefd4bd671e71788007a7d8f7c733c8d7f2d (patch)
tree250ad7be9f859a6f310483e8f2ec5afacb283e92 /scripts/lib/checklayer/context.py
parentbc322a184da1352e2a977850cf6c44e8bcfdac0d (diff)
downloadpoky-2d92aefd4bd671e71788007a7d8f7c733c8d7f2d.tar.gz
bitbake: fetch2/wget: Fix failure path for files that are empty or don't exist
When we intercepted the file download to a temp file, we broke the exist/size checks which need to happen before the rename. Correct the ordering. For some reason, python 3.12 exposes this problem in the selftests differently to previous versions. (Bitbake rev: 8714a02e13477a9d97858b3642e05f28247454b5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c56bd9a9280378bc64c6a7fe6d7b70847e0b9e6d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/checklayer/context.py')
0 files changed, 0 insertions, 0 deletions