aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/base-files/lib
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2019-10-02 22:12:28 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-07 14:28:50 +0100
commite030d162f77c816163f92024cf187eac4753d5eb (patch)
tree5d918de78bdc7b5403ddd2c458670f240d1382e2 /target/linux/ramips/mt7621/base-files/lib
parent52a0bd33341e11ffbd5b087b4ceb52ca754de8ba (diff)
downloadupstream-e030d162f77c816163f92024cf187eac4753d5eb.tar.gz
upstream-e030d162f77c816163f92024cf187eac4753d5eb.tar.bz2
upstream-e030d162f77c816163f92024cf187eac4753d5eb.zip
ramips: use nand_do_upgrade for netis WF-2881
WF-2881 sysupgrade image uses UBI rootfs, but still relies on default_do_upgrade. Because of this, config backup is not restored after sysupgrade. It can be fixed by switching to nand_do_upgrade and sysupgrade-tar image. default_do_upgrade does not handle sysupgrade-tar properly, so one should use factory image to upgrade from older version. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files/lib')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
index 6e0e8a6b2c..eaddca0a83 100755
--- a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
@@ -49,6 +49,7 @@ platform_do_upgrade() {
netgear,r6260|\
netgear,r6350|\
netgear,r6850|\
+ netis,wf-2881|\
xiaomi,mir3g|\
xiaomi,mir3p)
nand_do_upgrade "$1"