Re: [RFC] Writing sysupgrade.tgz directly to overlay for block-device sysupgrade

2020-07-24 Thread Jo-Philipp Wich
Hi David, > Instead of using the overlay filesystem du jour, perhaps it makes more > sense to simply put the tarball itself, raw, on the loop device > immediately after the end of the squashfs? I suppose the limiting factor for the maximum backup size would be the amount of available RAM then? Be

[RFC] Writing sysupgrade.tgz directly to overlay for block-device sysupgrade

2020-07-24 Thread David Woodhouse
We were playing on IRC with a way to write the backup file directly out alongside the root file system for block devices, similar to the way that it happens with 'mtd write -j sysupgrade.tgz'. A lot of devices currently put it in a FAT "recovery" partition but it's not clear that will always be bi