[openwrt/openwrt] scripts/mkits.sh: replace forgotten '-' with ${REFERENCE_CHAR}

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 23 19:29:05 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e89c85249e311e9a376d07cda33c9dc39b12a906

commit e89c85249e311e9a376d07cda33c9dc39b12a906
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Wed Mar 23 19:34:06 2022 +0000

    scripts/mkits.sh: replace forgotten '-' with ${REFERENCE_CHAR}
    
    Cosmetical change to improve style in mkits.sh.
    
    Fixes: fd679086473 ("scripts: mkits.sh: Allow legacy @ mode for dts creation")
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 scripts/mkits.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/mkits.sh b/scripts/mkits.sh
index f6699384ee..7bf5681add 100755
--- a/scripts/mkits.sh
+++ b/scripts/mkits.sh
@@ -137,7 +137,7 @@ fi
 if [ -n "${ROOTFS}" ]; then
 	dd if="${ROOTFS}" of="${ROOTFS}.pagesync" bs=4096 conv=sync
 	ROOTFS_NODE="
-		rootfs-$ROOTFSNUM {
+		rootfs${REFERENCE_CHAR}$ROOTFSNUM {
 			description = \"${ARCH_UPPER} OpenWrt ${DEVICE} rootfs\";
 			${COMPATIBLE_PROP}
 			data = /incbin/(\"${ROOTFS}.pagesync\");




More information about the lede-commits mailing list