There is no need to create a bigger squashfs as squashfs is read-only. With squashfs you get two file systems. squashfs for the files in the image and jffs2 for changed/added files. During the first boot the jffs2 is created. It starts after the end of the squashfs until the end of device. The good point is that you have some failsafe mode where you ignore the jffs2 and only load the squashfs. Then your device has the same behavior as directly after flashing.
With ext4 you get a single read-write file system (which makes failsafe difficult). This is how ar71xx works and I expect x86 does the same. If I am wrong correct me, please. kind regards txt.file Mikael Bak: > On 2018-04-11 14:11, Nishant Sharma wrote: > [snip] >> >> I didn't know a way to expand squashfs, so decided to compile the >> image and adjusted /root size as per the size of the disk. >> > > I'm using the Image Builder to create custom images. I can't find any > option how to specify the size of the rootfs and/or the overlay. > > Is it possible with Image Builder or must I build the whole thing from > source? > > TIA, > Mikael > > _______________________________________________ > Lede-dev mailing list > Lede-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev