openwrt/target/linux/octeon
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
..
base-files octeon: determine sysupgrade-* directory for upgrade automatically 2020-08-16 02:14:34 +02:00
image octeon: apply vendor_model scheme to device definition/image name 2020-01-26 23:00:26 +01:00
patches-4.19 kernel: bump 4.19 to 4.19.34 2019-04-08 14:53:39 +02:00
patches-5.4 octeon: refresh patches for kernel 5.4 2020-04-23 18:38:26 +02:00
profiles octeon: convert to new image building code 2016-06-14 13:00:30 +02:00
Makefile octeon: set 5.4 as default kernel 2020-05-25 12:04:55 +02:00
config-4.19 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
config-5.4 kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00