While working to port a device to OpenWRT, I noticed
mkfs.f2fs package is not included while creating the ramdisk for sysupgrade.
This particular Linksys device is based on eMMC and can hold two firmware sets, and reusing the free space of the rootfs partition is useful.
The logic added to the sysupgrade process requires creating a F2FS partition at a computed offset (SquashFS superblock bytes_used + OpenWRT Overlay align space), mainly to store the
sysupgrade.tgz for the new firmware.
Is there a different way to accomplish the same thing?
Thanks in advance.