utils: enhance logging for checksum mismatch

display checksum for server and local file when checksum mismatches.
master
OpenGnSys Support Team 2024-07-29 23:33:44 +02:00
parent 8395982244
commit c6ab7a4a2d
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ def tip_check_csum(tip_addr, image_name):
else:
ret = False
logging.warn(f'Checksum mismatch for {image_name}.img')
logging.warn(f'Server reports checksum {remote_csum} but local checksum is {cache_csum}')
return ret