[openwrt/openwrt] ath79: update image command for Plasma Cloud PA300

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 24 19:57:29 EST 2020


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/57e6f3ae65e1e77db6291f29b40002646b76db3b

commit 57e6f3ae65e1e77db6291f29b40002646b76db3b
Author: Sven Wegener <sven.wegener at stealer.net>
AuthorDate: Thu Dec 24 21:20:53 2020 +0100

    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 <sven.wegener at stealer.net>
    [fix format, spelling]
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/ath79/image/generic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the lede-commits mailing list