immortalwrt/target/linux/octeon
Donald Hoskins 412d743159 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-18 11:38:20 +08:00
..
base-files octeon: determine sysupgrade-* directory for upgrade automatically 2020-08-18 11:38:20 +08:00
image octeon: add support for kernel 5.4 2020-04-24 08:15:26 +08:00
patches-4.14 update target 2019-08-19 22:26:19 +08:00
patches-4.19 update target 2019-08-19 22:26:19 +08:00
patches-5.4 octeon: add support for kernel 5.4 2020-04-24 08:15:26 +08:00
profiles update target 2019-08-19 22:26:19 +08:00
config-4.14 update target 2019-08-19 22:26:19 +08:00
config-4.19 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-07 18:08:33 +08:00
config-5.4 kernel: Move CONFIG_IONIC to generic kernel config 2020-08-11 18:15:38 +08:00
Makefile octeon: add support for kernel 5.4 2020-04-24 08:15:26 +08:00