[source] ar71xx: enable sysupgrade for the OpenMesh OM2Pv4/-HSv4
LEDE Commits
lede-commits at lists.infradead.org
Wed Feb 15 00:36:22 PST 2017
blogic pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/d536c1d04fe00dee9b1122f7f487021ca7e128cd
commit d536c1d04fe00dee9b1122f7f487021ca7e128cd
Author: Sven Eckelmann <sven.eckelmann at open-mesh.com>
AuthorDate: Thu Jun 2 11:29:23 2016 +0200
ar71xx: enable sysupgrade for the OpenMesh OM2Pv4/-HSv4
Signed-off-by: Sven Eckelmann <sven.eckelmann at open-mesh.com>
---
target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh | 2 ++
target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index 87b6516..e776f99 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -44,10 +44,12 @@ platform_check_image_target_openmesh()
OM2P)
[ "$board" = "om2p" ] && return 0
[ "$board" = "om2pv2" ] && return 0
+ [ "$board" = "om2pv4" ] && return 0
[ "$board" = "om2p-lc" ] && return 0
[ "$board" = "om2p-hs" ] && return 0
[ "$board" = "om2p-hsv2" ] && return 0
[ "$board" = "om2p-hsv3" ] && return 0
+ [ "$board" = "om2p-hsv4" ] && return 0
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 b1fb60c..173836b 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -500,9 +500,11 @@ platform_check_image() {
mr900|\
om2p-hsv2|\
om2p-hsv3|\
+ om2p-hsv4|\
om2p-hs|\
om2p-lc|\
om2pv2|\
+ om2pv4|\
om2p|\
om5p-acv2|\
om5p-ac|\
@@ -677,9 +679,11 @@ platform_do_upgrade() {
mr900|\
om2p-hsv2|\
om2p-hsv3|\
+ om2p-hsv4|\
om2p-hs|\
om2p-lc|\
om2pv2|\
+ om2pv4|\
om2p|\
om5p-acv2|\
om5p-ac|\
More information about the lede-commits
mailing list