Skip to content

sysupgrade: misc fixes

Erik Karlsson - Genexis requested to merge (removed):sysupgrade-fixes into devel

Remove leftover HTTP handling code from /lib/upgrade/iopsys.sh as HTTP is handled by OpenWrt sysupgrade itself and already downloaded image in /tmp will always be passed to do_stage2. Use "curl -f" to fail on HTTP errors. Remove "/mnt/" check for USB as OpenWrt sysupgrade copies image to /tmp in case it is situated elsewhere. Fail on failure to copy image to /tmp directory.

Edited by Erik Karlsson - Genexis

Merge request reports