From: Shiji Yang <yangshij...@qq.com> The OpenWrt image metadata includes checksum validation. Therefore, it must be generated at the end.
Fixes: https://github.com/openwrt/openwrt/issues/9045 Fixes: https://github.com/openwrt/openwrt/issues/13674 Signed-off-by: Shiji Yang <yangshij...@qq.com> --- target/linux/ramips/image/rt3883.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/image/rt3883.mk b/target/linux/ramips/image/rt3883.mk index 0430099296..1728f84444 100644 --- a/target/linux/ramips/image/rt3883.mk +++ b/target/linux/ramips/image/rt3883.mk @@ -8,7 +8,8 @@ endef define Device/asus_rt-n56u SOC := rt3662 IMAGE_SIZE := 7872k - IMAGE/sysupgrade.bin += | mkrtn56uimg -s + IMAGE/sysupgrade.bin := $$(sysupgrade_bin) | check-size | \ + mkrtn56uimg -s | append-metadata DEVICE_VENDOR := ASUS DEVICE_MODEL := RT-N56U DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 -- 2.39.2 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel