ar71xx: enable sysupgrade for the OpenMesh OM5P-AN
Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 44863
This commit is contained in:
		@@ -68,6 +68,7 @@ platform_check_image_openmesh()
 | 
				
			|||||||
			;;
 | 
								;;
 | 
				
			||||||
		OM5P)
 | 
							OM5P)
 | 
				
			||||||
			[ "$board" = "om5p" ] && break
 | 
								[ "$board" = "om5p" ] && break
 | 
				
			||||||
 | 
								[ "$board" = "om5p-an" ] && break
 | 
				
			||||||
			echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
 | 
								echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
 | 
				
			||||||
			return 1
 | 
								return 1
 | 
				
			||||||
			;;
 | 
								;;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -288,7 +288,8 @@ platform_check_image() {
 | 
				
			|||||||
	om2p-hs | \
 | 
						om2p-hs | \
 | 
				
			||||||
	om2p-hsv2 | \
 | 
						om2p-hsv2 | \
 | 
				
			||||||
	om2p-lc | \
 | 
						om2p-lc | \
 | 
				
			||||||
	om5p)
 | 
						om5p | \
 | 
				
			||||||
 | 
						om5p-an)
 | 
				
			||||||
		platform_check_image_openmesh "$magic_long" "$1" && return 0
 | 
							platform_check_image_openmesh "$magic_long" "$1" && return 0
 | 
				
			||||||
		return 1
 | 
							return 1
 | 
				
			||||||
		;;
 | 
							;;
 | 
				
			||||||
@@ -488,7 +489,8 @@ platform_do_upgrade() {
 | 
				
			|||||||
	om2p-hs | \
 | 
						om2p-hs | \
 | 
				
			||||||
	om2p-hsv2 | \
 | 
						om2p-hsv2 | \
 | 
				
			||||||
	om2p-lc | \
 | 
						om2p-lc | \
 | 
				
			||||||
	om5p)
 | 
						om5p | \
 | 
				
			||||||
 | 
						om5p-an)
 | 
				
			||||||
		platform_do_upgrade_openmesh "$ARGV"
 | 
							platform_do_upgrade_openmesh "$ARGV"
 | 
				
			||||||
		;;
 | 
							;;
 | 
				
			||||||
	unifi-outdoor-plus | \
 | 
						unifi-outdoor-plus | \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user