[openwrt/openwrt] mvebu: fix sysupgrade from 17.04 for clearfog pro

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 11 14:17:14 PST 2018


jogo pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/e2ec3f7550ccf66a000262b7c33a2a87524c5257

commit e2ec3f7550ccf66a000262b7c33a2a87524c5257
Author: Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Sun Feb 11 22:31:36 2018 +0100

    mvebu: fix sysupgrade from 17.04 for clearfog pro
    
    When clearfog was renamed to clearfog pro, it broke sysupgrade from
    17.04 as the new images now get rejected as incompatible. Fix this by
    adding the legacy boardname to the compatible devices.
    
    Fixes: ec4a8c6dee81 ("mvebu: ClearFog renamed upstream to ClearFog Pro")
    Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
---
 target/linux/mvebu/image/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index 989ba50..812d946 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -199,6 +199,7 @@ define Device/armada-388-clearfog-pro
   IMAGE/sdcard.img.gz := boot-scr-cfpro | boot-img | sdcard-img | gzip | append-metadata
   IMAGE_NAME = $$(IMAGE_PREFIX)-$$(2)
   DEVICE_DTS := armada-388-clearfog-pro armada-388-clearfog-base
+  SUPPORTED_DEVICES := armada-388-clearfog-pro armada-388-clearfog
 endef
 TARGET_DEVICES += armada-388-clearfog-pro
 



More information about the lede-commits mailing list