591767fc01
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> |
||
---|---|---|
.. | ||
apm821xx | ||
ar71xx | ||
arc770 | ||
archs38 | ||
armvirt | ||
at91 | ||
ath25 | ||
ath79 | ||
bcm27xx | ||
bcm47xx | ||
bcm53xx | ||
bcm63xx | ||
cns3xxx | ||
gemini | ||
generic | ||
imx6 | ||
ipq40xx | ||
ipq806x | ||
ipq807x | ||
kirkwood | ||
lantiq | ||
layerscape | ||
malta | ||
mediatek | ||
mpc85xx | ||
mvebu | ||
mxs | ||
octeon | ||
octeontx | ||
omap | ||
oxnas | ||
pistachio | ||
ramips | ||
rb532 | ||
rockchip | ||
samsung | ||
sunxi | ||
tegra | ||
uml | ||
x86 | ||
zynq | ||
Makefile |