소스 검색

scripts: remove redundant character '0x0a' from Linksys image signature

The redundant character '0x0a' after the 192 bytes '0x00' padding broke
the factory image. We need to remove it to make things work again.

Fixes: e6769d11f3 scripts: fix missing character '0' issue in linksys image
Tested-by: Tony Butler <[email protected]>
Signed-off-by: Shiji Yang <[email protected]>
Shiji Yang 2 년 전
부모
커밋
9fa8fff0af
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      scripts/linksys-image.sh

+ 0 - 3
scripts/linksys-image.sh

@@ -17,7 +17,6 @@
 #  <padding>	    Padding ('0' + 0x20 *7) (8 bytes)
 #  <signature>	    Signature of signer. Not checked so use arbitrary value (16 bytes)
 #  <padding>        Padding (0x00) (192 bytes)
-#  0x0A		    (1 byte)
 
 ## version history
 # * version 1: initial commit
@@ -62,6 +61,4 @@ printf ".LINKSYS.01000409%-15s%-8s%-8s%-16s" "${TYPE}" "${CRC}" "0" "K0000000F02
 
 dd if=/dev/zero bs=1 count=192 conv=notrunc >> "${IMG_TMP_OUT}"
 
-printf '\12' >> "${IMG_TMP_OUT}"
-
 cp "${IMG_TMP_OUT}" "${IMG_OUT}"