diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-30 17:55:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-05-31 16:56:25 +0100 |
commit | f81127b6195dd94280389c3dd4a82abdad85faa8 (patch) | |
tree | 466151fe521c1b7538d4c87d0e89b8738d7de996 /scripts/lib/devtool/sdk.py | |
parent | c2d2ae7b1d16c30ca9333a61a2765bdf59dddcba (diff) | |
download | poky-f81127b6195dd94280389c3dd4a82abdad85faa8.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: c56bd9a9280378bc64c6a7fe6d7b70847e0b9e6d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions