diff options
author | Brett Mastbergen <bmastbergen@untangle.com> | 2019-06-25 16:03:48 -0400 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-06-28 21:53:05 +0200 |
commit | 34d3eaff4a253e680b1e1439dcb5f9c7d011c8cb (patch) | |
tree | 7abd6a99b634498d84ea5a8907c2a9893e5ab325 /target/linux | |
parent | 6c9a74458834bde287aec28e2ee0b902a075eb5e (diff) | |
download | upstream-34d3eaff4a253e680b1e1439dcb5f9c7d011c8cb.tar.gz upstream-34d3eaff4a253e680b1e1439dcb5f9c7d011c8cb.tar.bz2 upstream-34d3eaff4a253e680b1e1439dcb5f9c7d011c8cb.zip |
mvebu: Fix platform.sh for non-generic espressobin versions
When the non-generic espressobin targets were added these board checks
were not updated. One side effect of this is that config is not saved
during an upgrade of -emmc,-v7, or -v7-emmc devices.
Signed-off-by: Brett Mastbergen <bmastbergen@untangle.com>
(cherry picked from commit 95c1dc5e8678a1fd87234a4d77c8c6643703023c)
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/mvebu/base-files/lib/upgrade/platform.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/base-files/lib/upgrade/platform.sh index a7d5f451c5..b86fd1477e 100755 --- a/target/linux/mvebu/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/base-files/lib/upgrade/platform.sh @@ -9,7 +9,8 @@ REQUIRE_IMAGE_METADATA=1 platform_check_image() { case "$(board_name)" in - cznic,turris-omnia|globalscale,espressobin|marvell,armada8040-mcbin|solidrun,clearfog-base-a1|solidrun,clearfog-pro-a1) + cznic,turris-omnia|globalscale,espressobin|globalscale,espressobin-emmc|globalscale,espressobin-v7|globalscale,espressobin-v7-emmc|\ + marvell,armada8040-mcbin|solidrun,clearfog-base-a1|solidrun,clearfog-pro-a1) platform_check_image_sdcard "$ARGV" ;; *) @@ -37,7 +38,8 @@ platform_copy_config() { linksys,caiman|linksys,cobra|linksys,mamba|linksys,rango|linksys,shelby|linksys,venom) platform_copy_config_linksys ;; - cznic,turris-omnia|globalscale,espressobin|marvell,armada8040-mcbin|solidrun,clearfog-base-a1|solidrun,clearfog-pro-a1) + cznic,turris-omnia|globalscale,espressobin|globalscale,espressobin-emmc|globalscale,espressobin-v7|globalscale,espressobin-v7-emmc|\ + marvell,armada8040-mcbin|solidrun,clearfog-base-a1|solidrun,clearfog-pro-a1) platform_copy_config_sdcard "$ARGV" ;; esac |