[openwrt/openwrt] ramips: fix image recipe for ASUS RT-N56U
LEDE Commits
lede-commits at lists.infradead.org
Thu Apr 10 12:30:22 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/86dfa171015d1dd94dc735ae0c57e9e2962914fa
commit 86dfa171015d1dd94dc735ae0c57e9e2962914fa
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Sat Jul 6 18:27:19 2024 +0800
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 at qq.com>
Signed-off-by: Luke Morrison <lfmorrison at gmail.com>
(cherry picked from commit 708b77f549e852d5156acde03cc76942da29494a)
Link: https://github.com/openwrt/openwrt/pull/17678
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
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
More information about the lede-commits
mailing list