2
0
forked from Ivasoft/openwrt

ath79: restore sysupgrade support for ja76pf2 and routerstations

Because the bug described in FS#2428 has been fixed with bf2870c1d9
("kernel: fix mtd partition erase < parent_erasesize writes") these
devices can now safely do sysupgrade.

Restore sysupgrade support disabled in:

0cc87b3bac ("ath79: image: disable sysupgrade images for routerstations
and ja76pf2")

cc5256a8bf ("ath79: base-files: disable sysupgrade for routerstations
and ja76pf2")

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
[move Build block, remove check-size argument, wrap sysupgrade line,
make commit message easier to read]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Tomasz Maciej Nowak
2020-12-01 18:30:27 +01:00
committed by Adrian Schmutzler
parent 474aa3237c
commit 760952ad02
4 changed files with 16 additions and 4 deletions

View File

@@ -45,11 +45,11 @@ platform_do_upgrade() {
redboot_fis_do_upgrade "$1" vmlinux_2
;;
jjplus,ja76pf2)
echo "Sysupgrade disabled due bug FS#2428"
redboot_fis_do_upgrade "$1" linux
;;
ubnt,routerstation|\
ubnt,routerstation-pro)
echo "Sysupgrade disabled due bug FS#2428"
redboot_fis_do_upgrade "$1" kernel
;;
*)
default_do_upgrade "$1"