Update gcmtool.py

This commit is contained in:
tmpz23 2022-01-14 17:31:45 +01:00 committed by GitHub
parent c225501bf3
commit 06b1c75b08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -404,6 +404,7 @@ class Gcm:
logging.info(f"Patching sys/boot.bin offset 0x{BootBin.MAXFSTLEN_OFFSET:x} with new max fst size (0x{fst_size:x})")
bootbin.set_max_fst_len(fst_size)
bootbin_file.seek(0)
bootbin_file.write(bootbin.data())