projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3
[openwrt/openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
lib
/
upgrade
/
openmesh.sh
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index e0269467168ed59818ccd52cd3f0a26e68a3149f..270ef400b9d5a69a94447bc9f07196bfc432f254 100644
(file)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@
-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-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
;;
echo "Invalid image board target ($img_board_target) for this platform: $board. Use the correct image for this platform"
return 1
;;
@@
-108,7
+109,7
@@
platform_check_image_openmesh()
platform_check_image_target_openmesh "$img_board_target" || return 1
platform_check_image_target_openmesh "$img_board_target" || return 1
- [ $img_num_files -
ne
3 ] && {
+ [ $img_num_files -
lt
3 ] && {
echo "Invalid number of embedded images ($img_num_files). Use the correct image for this platform"
return 1
}
echo "Invalid number of embedded images ($img_num_files). Use the correct image for this platform"
return 1
}