script re-downloads image every time
i already had the image downloaded and gave --dir .
to use that image. the script started fine, found the image, validated the image, deleted the image and restarted the download:
2021-11-10 11:32:41,370 INFO Looking for librem5r4 plain byzantium image
2021-11-10 11:32:45,619 INFO Found disk image Build 9489 'plain librem5r4 byzantium image' from Wed Nov 10 04:22:17 2021
2021-11-10 11:32:47,263 INFO Found uboot Build 82 from Fri Sep 10 20:19:03 2021
2021-11-10 11:32:47,263 INFO Downloading to .
2021-11-10 11:32:48,013 INFO Calculating sha256sum of ./librem5r4.img
2021-11-10 11:32:59,872 INFO Downloading image from https://arm01.puri.sm/job/Images/job/Image%20Build/9489/artifact/librem5r4.img.xz
...
that's not only ugly, wastes time but money as well as we pay by volume here.