aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tomek_n@o2.pl>2019-09-06 17:02:36 +0200
committerJohn Crispin <john@phrozen.org>2019-10-21 14:23:39 +0200
commitcc5256a8bfa0bd5fff5ff42e6b2febea011e1c59 (patch)
treec88ca5267aaa67db77737f42380b7b687629eaec /target
parent8c36fd310517fcd86a1fd07a4618a8c961f30be8 (diff)
downloadupstream-cc5256a8bfa0bd5fff5ff42e6b2febea011e1c59.tar.gz
upstream-cc5256a8bfa0bd5fff5ff42e6b2febea011e1c59.tar.bz2
upstream-cc5256a8bfa0bd5fff5ff42e6b2febea011e1c59.zip
ath79: base-files: disable sysupgrade for routerstations and ja76pf2
Previous commit 0cc87b3 "ath79: image: disable sysupgrade images for routerstations and ja76pf2" doesn't remedy completely the posibility of bricking the device, since user could try to downgrade with an older image. Therefore disable sysupgrade code for these boards with a small note. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/base-files/lib/upgrade/platform.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/base-files/lib/upgrade/platform.sh b/target/linux/ath79/base-files/lib/upgrade/platform.sh
index f4fca06384..10756abbaf 100644
--- a/target/linux/ath79/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ath79/base-files/lib/upgrade/platform.sh
@@ -45,11 +45,11 @@ platform_do_upgrade() {
redboot_fis_do_upgrade "$1" vmlinux_2
;;
jjplus,ja76pf2)
- redboot_fis_do_upgrade "$1" linux
+ echo "Sysupgrade disabled due bug FS#2428"
;;
ubnt,routerstation|\
ubnt,routerstation-pro)
- redboot_fis_do_upgrade "$1" kernel
+ echo "Sysupgrade disabled due bug FS#2428"
;;
*)
default_do_upgrade "$1"