openwrt/target
Donald Hoskins 591767fc01 octeon: determine sysupgrade-* directory for upgrade automatically
So far, the sysupgrade-* folder used during upgrade in octeon was
hardcoded to contain the board name. Therefore, changing board name
or BOARD_NAME variable in image/Makefile might have broken upgrade.

Improve this by adding a step to determine the folder name via
a wildcard, as it is done for generic nand_upgrade_tar() in
lib/upgrade/nand.sh.

While this still does not remove the problem for existing devices
(which still have the old script), it will entirely remove the
issue on newly added devices on this platform.

Signed-off-by: Donald Hoskins <grommish@gmail.com>
[split into separate patch, add commit message, add return values]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-16 02:14:34 +02:00
..
imagebuilder imagebuilder: Remove json_info_files/ before build 2020-06-11 11:12:56 +01:00
linux octeon: determine sysupgrade-* directory for upgrade automatically 2020-08-16 02:14:34 +02:00
sdk build: improve ccache support 2020-07-11 15:19:53 +02:00
toolchain build: improve ccache support 2020-07-11 15:19:53 +02:00
Config.in build: define RTC_SUPPORT as a bool 2020-04-09 12:51:10 +02:00
Makefile