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: 3307fe8ee4 ("qualcommax: ipq50xx: add support for GL.iNET GL-B3000")
Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18547
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Scott Mercer
2025-04-21 05:38:14 -04:00
committed by Robert Marko
parent c3b8108a2b
commit 97f09fa25e

View File

@ -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);