From 97f09fa25e2a463fcff0241faa3f5e1dadf51a10 Mon Sep 17 00:00:00 2001 From: Scott Mercer Date: Mon, 21 Apr 2025 05:38:14 -0400 Subject: [PATCH] qualcommax: ipq5018: gl-b3000: fix uboot support The bootscript parameter in gl-qsdk-factory.sh was moved from arg[4] to arg[2] (1 based index) This patch reflects these changes Fixes: 3307fe8ee4cf ("qualcommax: ipq50xx: add support for GL.iNET GL-B3000") Signed-off-by: Scott Mercer Link: https://github.com/openwrt/openwrt/pull/18547 Signed-off-by: Robert Marko --- include/image-commands.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/image-commands.mk b/include/image-commands.mk index 52652b59a4..d767ab356e 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -513,9 +513,9 @@ define Build/gl-qsdk-factory $(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \ $(GL_ITS) \ + $(BOOT_SCRIPT) \ $(GL_UBI) \ - $(GL_IMGK) \ - $(BOOT_SCRIPT) + $(GL_IMGK) sed -i "s/rootfs_size/`wc -c $(GL_IMGK) | \ cut -d " " -f 1 | xargs printf "0x%x"`/g" $(BOOT_SCRIPT); -- 2.30.2