aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSander Vanheule <sander@svanheule.net>2022-07-05 10:16:08 +0200
committerLuiz Angelo Daros de Luca <luizluca@gmail.com>2022-07-08 22:09:40 -0300
commit90810982732f195f09502a9d388efa6ebe549a8d (patch)
tree4791e33e0ad593bf14a93c0aa33e9697910b15c0
parent87e58a43eac981f5adcda0cd88fa8acb72266c61 (diff)
downloadupstream-90810982732f195f09502a9d388efa6ebe549a8d.tar.gz
upstream-90810982732f195f09502a9d388efa6ebe549a8d.tar.bz2
upstream-90810982732f195f09502a9d388efa6ebe549a8d.zip
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 <markus.stockhausen@gmx.de> Fixes: f9e840b65700 ("scripts: add CAMEO tag generator") Signed-off-by: Sander Vanheule <sander@svanheule.net> (cherry picked from commit ebfe66e494e57f4b421f1190d6bff1d361db1b3d)
-rwxr-xr-xscripts/cameo-tag.py2
1 files changed, 1 insertions, 1 deletions
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