sysupgrade silently does nothing in case of active swap on block device
Username: Reiner Otto
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2024
Trying sysupgrade on my ZBT WE1026, with SD-Card installed, and swap file active on it, silently does not succeed.
However, as I am using ‘sysupgrade -v -n -f /tmp/some_pars.tar.gz /tmp/fw.bin’ the files from some_pars.tar.gz are applied to unmodified system, resulting in inconsistencies.
Doing swapoff before
sysupgrade fixed my problem.
sysupgrade should at least issue an error message, when it does not succeed.
As I suspect, that unsuccessful umount of my block device with swap-file open is the culprit.