openwrt/target/linux/mediatek
Jascha Sundaresan 865229fad9
mediatek: filogic: fix EAX17 rootfs hash in FIT node for per-device rootfs builds
When CONFIG_TARGET_PER_DEVICE_ROOTFS is enabled (as in buildbot builds),
the final per-device rootfs is assembled at root.squashfs+pkg=<hash> rather
than root.squashfs. The gen_netgear_rootfs_node.sh script was always hashing
root.squashfs (the base rootfs without device-specific packages), causing the
size and hash in the FIT node to not match the actual rootfs written to the
UBI volume, resulting in boot failure on buildbot-produced images.

Fix by using the per-device rootfs path when TARGET_PER_DEVICE_ROOTFS is set,
consistent with how include/image.mk handles the same distinction elsewhere.

Fixes: 46ab9f3f1c ("filogic: add support for Netgear EAX17")
Signed-off-by: Jascha Sundaresan <flizarthanon@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22839
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit bc0a2c933e)
2026-04-08 10:04:02 +02:00
..
base-files mediatek: add support for Zyxel WX5600-T0 2026-03-30 12:54:40 +02:00
dts mediatek: add support for Zyxel WX5600-T0 2026-03-30 12:54:40 +02:00
files/drivers treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
files-6.12 treewide: dts: remove {#address,#size}-cells from "spi-nand" compatible node 2025-11-27 12:37:49 +01:00
filogic mediatek: add support for Zyxel WX5600-T0 2026-03-30 12:54:40 +02:00
image mediatek: filogic: fix EAX17 rootfs hash in FIT node for per-device rootfs builds 2026-04-08 10:04:02 +02:00
mt7622 mediatek: add basic support for the MT7987 SoC 2025-11-05 14:19:39 +00:00
mt7623 mediatek: add basic support for the MT7987 SoC 2025-11-05 14:19:39 +00:00
mt7629 treewide: linksys: use nvmem MAC for hw_mac_addr 2026-03-06 12:07:42 +01:00
patches-6.12 kernel: bump 6.12 to 6.12.78 2026-04-02 23:23:41 +02:00
Makefile mediatek: switch to Linux 6.12 by default 2025-07-18 12:26:40 +01:00
modules.mk mediatek: build rtl8367s_gsw as a kernel module 2025-11-30 22:59:28 +01:00