diff options
author | Donald Hoskins <grommish@gmail.com> | 2020-08-15 13:50:43 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-16 02:14:34 +0200 |
commit | 591767fc0152ffd02954e359e33f575271b9089e (patch) | |
tree | d17e69742f5eccb4b24854401775351d41766043 /scripts/redboot-script.pl | |
parent | d43b963b3d1172fbe7e3f57f88da11e4d7e54c95 (diff) | |
download | upstream-591767fc0152ffd02954e359e33f575271b9089e.tar.gz upstream-591767fc0152ffd02954e359e33f575271b9089e.tar.bz2 upstream-591767fc0152ffd02954e359e33f575271b9089e.zip |
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>
Diffstat (limited to 'scripts/redboot-script.pl')
0 files changed, 0 insertions, 0 deletions