summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-ifup
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-05-13 11:12:48 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-30 12:32:48 +0100
commit73f35492b7d8120429b9ff842105c03c5a0b11db (patch)
tree194f44384266d6f166cb32e527bdef5cc416668d /scripts/runqemu-ifup
parent791c496bed8ad5f1681fcf211435f1bc18a525c6 (diff)
downloadpoky-73f35492b7d8120429b9ff842105c03c5a0b11db.tar.gz
sstate.bbclass: When siginfo or sig files are missing, stop fetcher errors
Prior to fetching, the system checks if the sstate file is present either locally or on the mirror. If it is, then it goes to the fetch stage. Up to three files can be fetched, sstate, sstate.siginfo and sstate.sig (if signature validation is enabled). The previous pstaging_fetch function would iterate over these, and if a download error occurred would spew forth a great amount of fetcher failure messages as well as stop fetching the next item in the set. This was resolved by adding a fetcher.checkstatus() call prior to the download. If the file isn't present, then the exception will be triggered, and no fetcher failure messages will reach the user. The exception handler is then modified to be a pass so that it will loop and pull the rest of the files that that are requested. Additionally, a check for the existance of the .sig file was added to the sstate_installpkg to avoid an error trying to load the .sig if it wasn't downloaded. (From OE-Core rev: a9085140434e2d26c0bb75bb53fcb7f7c19ef86d) Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-ifup')
0 files changed, 0 insertions, 0 deletions