openwrt/target/linux/ar71xx/base-files/lib/upgrade
Adrian Schmutzler 281785d74f 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>
2020-03-17 12:02:14 +01:00
..
allnet.sh ar71xx: Create /var/lock directory in platform_do_upgrade_* 2018-10-07 15:44:19 +02:00
dir825.sh treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 2019-09-11 09:05:35 +02:00
merakinand.sh treewide: use only board_name function to get name 2017-07-15 23:13:34 +02:00
openmesh.sh treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 2019-09-11 09:05:35 +02:00
platform.sh ar71xx: remove hard-coded folder name from Mikrotik RB upgrade 2020-03-17 12:02:14 +01:00