openwrt/target/linux/ar71xx/base-files
Adrian Schmutzler 6ffd4d8a4d ar71xx: remove hard-coded folder name from Mikrotik RB upgrade
So far, specifying "BOARD_NAME := routerboard" is required by the
upgrade code of Mikrotik NAND devices, as "sysupgrade-routerboard"
is hardcoded in platform_do_upgrade_mikrotik_rb().

This patch replaces the latter with a grep for the name like it
is already done in nand_upgrade_tar() in /lib/upgrade/nand.sh.

This should enable upgrades from ar71xx to ath79 without setting
BOARD_NAME for the latter.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(backported from commit 281785d74f)
2020-05-12 17:48:02 +02:00
..
etc ar71xx: mikrotik: ath10k: use new sysfs driver 2020-05-12 12:43:38 +02:00
lib ar71xx: remove hard-coded folder name from Mikrotik RB upgrade 2020-05-12 17:48:02 +02:00