diff options
author | Mathias Kresin <dev@kresin.me> | 2017-07-28 19:22:55 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-07-29 09:24:32 +0200 |
commit | 99f1097c0adcbe4730f86fbcdfbe7f291cdb25cf (patch) | |
tree | 36cc4077d8a39af9c580b9aefbf6f5b3e05dd278 | |
parent | 45dbd65850bdaa8c2b74d164065cba12b52107f7 (diff) | |
download | mtk-20170518-99f1097c0adcbe4730f86fbcdfbe7f291cdb25cf.zip mtk-20170518-99f1097c0adcbe4730f86fbcdfbe7f291cdb25cf.tar.gz mtk-20170518-99f1097c0adcbe4730f86fbcdfbe7f291cdb25cf.tar.bz2 |
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 <dev@kresin.me>
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 2 | ||||
-rw-r--r-- | target/linux/ramips/image/mt7628.mk | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 0267c9d..3efdeda 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -290,7 +290,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 fbfc37d..693e64f 100644 --- a/target/linux/ramips/image/mt7628.mk +++ b/target/linux/ramips/image/mt7628.mk @@ -92,6 +92,7 @@ TARGET_DEVICES += duzun-dm06 define Device/mac1200r-v2 DTS := MAC1200RV2 DEVICE_TITLE := Mercury MAC1200R v2.0 + SUPPORTED_DEVICES := mac1200rv2 endef TARGET_DEVICES += mac1200r-v2 |