aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-12-01 07:37:03 +0100
committerMathias Kresin <dev@kresin.me>2016-12-24 10:03:38 +0100
commitd2b6bf141662429d542b23e9e8f44245a77710a5 (patch)
treece3935a111b0f358e3a6814ed88aeaa460141a59 /target/linux/ramips/base-files
parentae3ac76e565724e188138dafe38ebeed122e2cf8 (diff)
downloadupstream-d2b6bf141662429d542b23e9e8f44245a77710a5.tar.gz
upstream-d2b6bf141662429d542b23e9e8f44245a77710a5.tar.bz2
upstream-d2b6bf141662429d542b23e9e8f44245a77710a5.zip
ramips: fix image validation errors
The name from the Device define will be used in the metadata. Due to typos/different spelling, this name might not match the one exported in /lib/ramips.sh. Fix all name mismatches which were found by checking if the name used in the metadata exists in /lib/ramips.sh. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 31a2049696..695f20697d 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -260,7 +260,7 @@ ramips_board_detect() {
name="m2m"
;;
*"Mercury MAC1200R v2")
- name="mac1200rv2"
+ name="mac1200r-v2"
;;
*"MicroWRT")
name="microwrt"