From: Mathias Kresin Date: Fri, 28 Jul 2017 17:22:55 +0000 (+0200) Subject: ramips: fix Mercury MAC1200R v2.0 board name X-Git-Tag: v17.01.3~55 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e409f0e69ce77186f4e70dd9068e43dfc36a9bc;p=oweals%2Fopenwrt.git ramips: fix Mercury MAC1200R v2.0 board name With d2b6bf141662 ("ramips: fix image validation errors") the board name was changed to fix an image validation error. But this change wasn't applied to all other files using the board name, which broke sysupgrade. Revert this change and use the former board name in the metadata instead. Signed-off-by: Mathias Kresin --- diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index e642d568c4..17ada64893 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -272,7 +272,7 @@ ramips_board_detect() { name="m2m" ;; *"Mercury MAC1200R v2") - name="mac1200r-v2" + name="mac1200rv2" ;; *"MicroWRT") name="microwrt" diff --git a/target/linux/ramips/image/mt7628.mk b/target/linux/ramips/image/mt7628.mk index 4502588c80..12c3c80507 100644 --- a/target/linux/ramips/image/mt7628.mk +++ b/target/linux/ramips/image/mt7628.mk @@ -53,5 +53,6 @@ TARGET_DEVICES += duzun-dm06 define Device/mac1200r-v2 DTS := MAC1200RV2 DEVICE_TITLE := Mercury MAC1200R v2.0 + SUPPORTED_DEVICES := mac1200rv2 endef TARGET_DEVICES += mac1200r-v2