You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
allnet.sh ar71xx: Create /var/lock directory in platform_do_upgrade_* 6 years ago
dir825.sh treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 5 years ago
merakinand.sh treewide: use only board_name function to get name 7 years ago
openmesh.sh treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 5 years ago
platform.sh ar71xx: remove hard-coded folder name from Mikrotik RB upgrade 4 years ago