diff options
author | John Crispin <blogic@openwrt.org> | 2014-06-02 13:21:38 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-06-02 13:21:38 +0000 |
commit | c037717ff5b36809ec5f2007de7c74670d982cdb (patch) | |
tree | 5f3bb35d3f877ea05536e71d5b10fb769334b704 /target/linux/ar71xx/base-files | |
parent | dbda454bbe937475b2c9ed6f93f805bdc1afc227 (diff) | |
download | upstream-c037717ff5b36809ec5f2007de7c74670d982cdb.tar.gz upstream-c037717ff5b36809ec5f2007de7c74670d982cdb.tar.bz2 upstream-c037717ff5b36809ec5f2007de7c74670d982cdb.zip |
ar71xx: add sysupgrade support for OpenMesh OM2P-HSv2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40963 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rw-r--r-- | target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh | 1 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh index 9eac5ef27d..db374259bb 100644 --- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh @@ -62,6 +62,7 @@ platform_check_image_openmesh() [ "$board" = "om2pv2" ] && break [ "$board" = "om2p-lc" ] && break [ "$board" = "om2p-hs" ] && break + [ "$board" = "om2p-hsv2" ] && break echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform" return 1 ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index c7583bae6e..551d3ce27a 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -215,6 +215,7 @@ platform_check_image() { om2p | \ om2pv2 | \ om2p-hs | \ + om2p-hsv2 | \ om2p-lc) platform_check_image_openmesh "$magic_long" "$1" && return 0 return 1 @@ -373,6 +374,7 @@ platform_do_upgrade() { om2p | \ om2pv2 | \ om2p-hs | \ + om2p-hsv2 | \ om2p-lc) platform_do_upgrade_openmesh "$ARGV" ;; |