diff options
author | David Bauer <mail@david-bauer.net> | 2023-06-09 14:12:47 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2023-07-08 20:04:45 +0200 |
commit | 2b133ab19cd5d741f3191f917c607667943f5f58 (patch) | |
tree | 5f6f0ff4b05a4474d97a1a32c090f2b2fea7c70d /scripts | |
parent | 712fa3eff82086da8a13e7e5bc577df17892a581 (diff) | |
download | openwrt-2b133ab19cd5d741f3191f917c607667943f5f58.tar.gz openwrt-2b133ab19cd5d741f3191f917c607667943f5f58.tar.bz2 openwrt-2b133ab19cd5d741f3191f917c607667943f5f58.zip |
scripts: use sep-char for hash nodes
U-Boot with enabled secure-boot will not boot images with the
@-character used for hash node-names.
Use the existing separation character configurable for each device.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkits.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/mkits.sh b/scripts/mkits.sh index b1c6f98867..eeb01216f9 100755 --- a/scripts/mkits.sh +++ b/scripts/mkits.sh @@ -108,10 +108,10 @@ if [ -n "${DTB}" ]; then ${DTADDR:+load = <${DTADDR}>;} arch = \"${ARCH}\"; compression = \"none\"; - hash@1 { + hash${REFERENCE_CHAR}1 { algo = \"crc32\"; }; - hash@2 { + hash${REFERENCE_CHAR}2 { algo = \"${HASH}\"; }; }; @@ -128,10 +128,10 @@ if [ -n "${INITRD}" ]; then type = \"ramdisk\"; arch = \"${ARCH}\"; os = \"linux\"; - hash@1 { + hash${REFERENCE_CHAR}1 { algo = \"crc32\"; }; - hash@2 { + hash${REFERENCE_CHAR}2 { algo = \"${HASH}\"; }; }; @@ -150,10 +150,10 @@ if [ -n "${ROOTFS}" ]; then type = \"filesystem\"; arch = \"${ARCH}\"; compression = \"none\"; - hash@1 { + hash${REFERENCE_CHAR}1 { algo = \"crc32\"; }; - hash@2 { + hash${REFERENCE_CHAR}2 { algo = \"${HASH}\"; }; }; @@ -181,10 +181,10 @@ OVCONFIGS="" arch = \"${ARCH}\"; load = <${DTADDR}>; compression = \"none\"; - hash@1 { + hash${REFERENCE_CHAR}1 { algo = \"crc32\"; }; - hash@2 { + hash${REFERENCE_CHAR}2 { algo = \"${HASH}\"; }; }; @@ -216,10 +216,10 @@ DATA="/dts-v1/; compression = \"${COMPRESS}\"; load = <${LOAD_ADDR}>; entry = <${ENTRY_ADDR}>; - hash@1 { + hash${REFERENCE_CHAR}1 { algo = \"crc32\"; }; - hash@2 { + hash${REFERENCE_CHAR}2 { algo = \"$HASH\"; }; }; |