summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiji Yang2024-07-06 10:27:19 +0000
committerHauke Mehrtens2024-07-13 12:30:42 +0000
commit708b77f549e852d5156acde03cc76942da29494a (patch)
treebb11603e94f2aaeb474e7693094399de890020a6
parent325e53f9e1797f26ae3fa88d0ffd0d190043c5d1 (diff)
downloadopenwrt-708b77f549e852d5156acde03cc76942da29494a.tar.gz
ramips: fix image recipe for ASUS RT-N56U
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 Link: https://patchwork.ozlabs.org/project/openwrt/patch/TYCP286MB08952FAACDFA234C5E052131BCD82@TYCP286MB0895.JPNP286.PROD.OUTLOOK.COM/ Signed-off-by: Shiji Yang <yangshiji66@qq.com>
-rw-r--r--target/linux/ramips/image/rt3883.mk3
1 files changed, 2 insertions, 1 deletions
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