ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3
authorSven Eckelmann <sven.eckelmann@open-mesh.com>
Fri, 20 May 2016 15:53:09 +0000 (17:53 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 May 2016 10:19:24 +0000 (12:19 +0200)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index bc362a751e9b62ee23fb4b3b401757106435e34a..270ef400b9d5a69a94447bc9f07196bfc432f254 100644 (file)
@@ -47,6 +47,7 @@ platform_check_image_target_openmesh()
                        [ "$board" = "om2p-lc" ] && return 0
                        [ "$board" = "om2p-hs" ] && return 0
                        [ "$board" = "om2p-hsv2" ] && return 0
+                       [ "$board" = "om2p-hsv3" ] && return 0
                        echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
                        return 1
                        ;;
index 0d6aa6b67e87113308970a33b69e0728d01ddd99..ec1cdbd313fc8db6a24815c1695368cfb2919311 100755 (executable)
@@ -322,6 +322,7 @@ platform_check_image() {
        om2pv2 | \
        om2p-hs | \
        om2p-hsv2 | \
+       om2p-hsv3 | \
        om2p-lc | \
        om5p | \
        om5p-an | \
@@ -581,6 +582,7 @@ platform_do_upgrade() {
        om2pv2 | \
        om2p-hs | \
        om2p-hsv2 | \
+       om2p-hsv3 | \
        om2p-lc | \
        om5p | \
        om5p-an | \