From: Sven Wegener Date: Thu, 24 Dec 2020 20:20:53 +0000 (+0100) Subject: ath79: update image command for Plasma Cloud PA300 X-Git-Tag: v21.02.0-rc1~707 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=57e6f3ae65e1e77db6291f29b40002646b76db3b;p=openwrt%2Fstaging%2Fhauke.git ath79: update image command for Plasma Cloud PA300 Commit 5fc28ef47959 ("ath79: Add support for Plasma Cloud PA300") added the IMAGE/sysupgrade.bin/squashfs definition, which leaks into other devices, resulting in sysupgrade.bin images that are actually tarballs and do not boot when directly written to flash. We can use the normal sysupgrade.bin command variable for this device. Signed-off-by: Sven Wegener [fix format, spelling] Signed-off-by: David Bauer --- diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk index 101c7597b8..ec2b1d2bde 100644 --- a/target/linux/ath79/image/generic.mk +++ b/target/linux/ath79/image/generic.mk @@ -1623,7 +1623,7 @@ define Device/plasmacloud_pa300-common IMAGES += factory.bin KERNEL := kernel-bin | append-dtb | lzma | uImage lzma | pad-to $$(BLOCKSIZE) IMAGE/factory.bin := append-rootfs | pad-rootfs | openmesh-image ce_type=PA300 - IMAGE/sysupgrade.bin/squashfs := append-rootfs | pad-rootfs | sysupgrade-tar rootfs=$$$$@ | append-metadata + IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | sysupgrade-tar rootfs=$$$$@ | append-metadata endef define Device/plasmacloud_pa300