openwrt/target/linux/mediatek/image
Jascha Sundaresan bc0a2c933e
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>
2026-04-08 10:02:58 +02:00
..
filogic.mk mediatek: filogic: fix EAX17 rootfs hash in FIT node for per-device rootfs builds 2026-04-08 10:02:58 +02:00
gen_scatterfile.sh target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
Makefile mediatek: add support for EROFS 2025-11-18 12:18:02 +01:00
mt7622.mk mediatek: add support for Elecom WRC-G01 2025-12-26 20:07:31 +01:00
mt7623.mk mediatek: fix build failure of mt7623/mt7629 using kernel 6.6 2024-03-16 15:25:05 +08:00
mt7629.mk mediatek: stage mt7622/mt7629 rfb u-boot images to bin folder 2025-07-19 02:59:16 +01:00