From: Scott Mercer Date: Mon, 21 Apr 2025 09:38:14 +0000 (-0400) Subject: qualcommax: ipq5018: gl-b3000: fix uboot support X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97f09fa25e2a463fcff0241faa3f5e1dadf51a10;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/include/image-commands.mk b/include/image-commands.mk index 52652b59a40..d767ab356e7 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);