Always generate checksum files on image builds

Checksums are good, lets provide them.

Change-Id: I5d79f3800966dc8e49a892f1097dcbde619ef9a3
This commit is contained in:
Steve Baker 2023-03-24 09:33:31 +13:00
parent 59d79f6ccd
commit 055c999af9

View File

@ -81,6 +81,10 @@ def main():
if args.lzma:
os.environ['DIB_IPA_COMPRESS_CMD'] = \
'xz --format=lzma --compress --stdout'
# Enable checksum generation by default
if 'DIB_CHECKSUM' not in os.environ:
os.environ['DIB_CHECKSUM'] = 'sha256'
extra_args = shlex.split(args.extra_args) if args.extra_args else []
if args.verbose:
extra_args.append("-x")