Hi! I thought about how I could get some kind of transaction safety. I only found this solution: -Look if there is enough extra space for rootfs+sysupgrade.tgz+safety -If yes, create a temporary volume and push the image into it -Mount it -Copy sysupgrade.tgz to its root -unmount it -update kernel -If all steps above are successfull, make an atomic name change rootfs<->_temp_image_ -Remove the old, renamed rootfs
What do you think, does this make sense in a failsafe way? But I did not find a solution if there is not enough free space for an temporary image.. André On 22.05.2014 22:16, André Valentin wrote:
Signed-off-by: André Valentin <avalen...@marcant.net> --- .../base-files/lib/upgrade/platform.sh | 108 ++++++++++++++++++++
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel