Re: bcm27xx: squashf/f2fs sysupgrade broken because overlay is not padded/erased

2023-05-19 Thread Lukas Zeller
Hi Michael, > On 17 May 2023, at 20:19, Michael Richardson wrote: > >> Lukas Zeller wrote: >> [...] >> - trying to just zero out enough blocks after the squashfs data in >> `target/linux/bcm27xx/base-files/lib/upgrade/platform.sh` >> [...] > I'm not really clued in to the subtlies here, but it

Re: bcm27xx: squashf/f2fs sysupgrade broken because overlay is not padded/erased

2023-05-17 Thread Michael Richardson
Lukas Zeller wrote: > I really need help to even figure out a feasible idea to fix this, let > alone implement it in a clean way. What comes to my mind so far is: > - trying to just zero out enough blocks after the squashfs data in > `target/linux/bcm27xx/base-files/lib/upgrade/p

bcm27xx: squashf/f2fs sysupgrade broken because overlay is not padded/erased

2023-05-17 Thread Lukas Zeller
For quite a while, I've been updating my OpenWrt 22.03 based RPi devices, configured with sqashfs/f2fs layout (CONFIG_TARGET_ROOTFS_SQUASHFS, rather than CONFIG_TARGET_ROOTFS_EXT4FS) via sysupgrade with no problems. However, during a recent update (22.03.5) where the squashfs area only grew ver