mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
ipq40xx: fix image building for ZTE MF287 series
For the ZTE MF287 series, a special recovery image is built. The Makefile
worked fine on snapshot, but created corrupt images on the 23.05 images.
By using the appropriate variable, this should be fixed.
Signed-off-by: Andreas Böhler <dev@aboehler.at>
(cherry picked from commit a9cc3708e0
)
This commit is contained in:
parent
2dc284a79a
commit
385a50f02d
@ -1172,7 +1172,7 @@ define Device/zte_mf287_common
|
||||
# exploit for the web interface
|
||||
IMAGES += factory.bin recovery.bin
|
||||
IMAGE/factory.bin := append-ubi
|
||||
IMAGE/recovery.bin := append-squashfs4-fakeroot | sysupgrade-tar kernel=$$$$(BIN_DIR)/openwrt-$$(BOARD)$$(if $$(SUBTARGET),-$$(SUBTARGET))-$$(DEVICE_NAME)-initramfs-zImage.itb rootfs=$$$$@ | append-metadata
|
||||
IMAGE/recovery.bin := append-squashfs4-fakeroot | sysupgrade-tar kernel=$$$$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE) rootfs=$$$$@ | append-metadata
|
||||
endef
|
||||
|
||||
define Device/zte_mf287plus
|
||||
|
Loading…
Reference in New Issue
Block a user