]> git.ipfire.org Git - thirdparty/openwrt.git/commit
qualcommax: ipq5018: gl-b3000: fix rootfs_size in bootscript 18556/head
authorScott Mercer <TheRootEd24@gmail.com>
Mon, 21 Apr 2025 17:12:37 +0000 (13:12 -0400)
committerRobert Marko <robimarko@gmail.com>
Mon, 21 Apr 2025 21:56:38 +0000 (23:56 +0200)
commit320cdff263268b69c120952907f2452999e3fd38
treec2a17dafc002d5b2ecee2a54bccd68f1bd3bdde0
parentf45df2167ba6e7ae80fd0786fa4028a4263b2a6f
qualcommax: ipq5018: gl-b3000: fix rootfs_size in bootscript

rootfs_size was being set after the bootscript was already copied
to KDIR_TMP/ this was sneaky because it only affected the initial
compile. All subsequent compiles the rootfs_size is correct before
the copy is made and the bug goes un discovered. Hence the reason I
missed it during testing.

this patch fixes the issue and also refactors the
make recipe to update rootfs_size after the copy
is made, and updates the copy exclusively.

Fixes: 3307fe8ee4cf ("qualcommax: ipq50xx: add support for GL.iNET GL-B3000")
Signed-off-by: Scott Mercer <TheRootEd24@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18556
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/image-commands.mk