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

LEDE Commits lede-commits at lists.infradead.org
Sun Mar 27 08:14:41 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/2c2cc4bb67cd3c02ca733708d9bb4d34a6ceed3e

commit 2c2cc4bb67cd3c02ca733708d9bb4d34a6ceed3e
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>
    (cherry picked from commit e89c85249e311e9a376d07cda33c9dc39b12a906)
---
 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