Explorar o código

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 <[email protected]>
Fixes: f9e840b65700 ("scripts: add CAMEO tag generator")
Signed-off-by: Sander Vanheule <[email protected]>
Sander Vanheule %!s(int64=3) %!d(string=hai) anos
pai
achega
ebfe66e494
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scripts/cameo-tag.py

+ 1 - 1
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