From: Sander Vanheule Date: Tue, 5 Jul 2022 08:16:08 +0000 (+0200) Subject: scripts: fix CAMEO tag generator X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ebfe66e494e57f4b421f1190d6bff1d361db1b3d;p=openwrt%2Fstaging%2Fstintel.git scripts: fix CAMEO tag generator What should have been only cosmetic changes, ended up in breaking the script. Rename UIMAGE_CRC_SLICE back to (the original) UIMAGE_CRC_OFF. Fixes issue #10204 "cameo-tag.py broken" Reported-by: Markus Stockhausen Fixes: f9e840b65700 ("scripts: add CAMEO tag generator") Signed-off-by: Sander Vanheule --- diff --git a/scripts/cameo-tag.py b/scripts/cameo-tag.py index 643dd387e8..becd69f8e7 100755 --- a/scripts/cameo-tag.py +++ b/scripts/cameo-tag.py @@ -52,7 +52,7 @@ import zlib READ_UNTIL_EOF = -1 UIMAGE_HEADER_SIZE = 64 -UIMAGE_CRC_SLICE = 4 +UIMAGE_CRC_OFF = 4 UIMAGE_CRC_END = 8 UIMAGE_NAME_OFF = 32 UIMAGE_NAME_END = 56