Author: blogic
Date: 2016-04-09 12:26:22 +0200 (Sat, 09 Apr 2016)
New Revision: 49151

Modified:
   trunk/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
   trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
Log:
ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2

Signed-off-by: Sven Eckelmann <[email protected]>

Modified: trunk/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh        
2016-04-09 10:26:18 UTC (rev 49150)
+++ trunk/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh        
2016-04-09 10:26:22 UTC (rev 49151)
@@ -74,6 +74,7 @@
                        ;;
                OM5PAC)
                        [ "$board" = "om5p-ac" ] && break
+                       [ "$board" = "om5p-acv2" ] && break
                        echo "Invalid image board target ($img_board_target) 
for this platform: $board. Use the correct image for this platform"
                        return 1
                        ;;

Modified: trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
===================================================================
--- trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2016-04-09 10:26:18 UTC (rev 49150)
+++ trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh        
2016-04-09 10:26:22 UTC (rev 49151)
@@ -323,7 +323,8 @@
        om2p-lc | \
        om5p | \
        om5p-an | \
-       om5p-ac)
+       om5p-ac | \
+       om5p-acv2)
                platform_check_image_openmesh "$magic_long" "$1" && return 0
                return 1
                ;;
@@ -577,7 +578,8 @@
        om2p-lc | \
        om5p | \
        om5p-an | \
-       om5p-ac)
+       om5p-ac | \
+       om5p-acv2)
                platform_do_upgrade_openmesh "$ARGV"
                ;;
        unifi-outdoor-plus | \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to