[Buildroot] Is there a way to automatically detect the minimum required BR2_TARGET_ROOTFS_EXT2_SIZE?

Ciro Santilli ciro.santilli at gmail.com
Sat Mar 10 16:14:45 UTC 2018


I'm when making a big non-embedded image, I keep hitting the error:

    *** Maybe you need to increase the filesystem size

and then I have to do a `du` on `output/target` to find out how big I
have to make `BR2_TARGET_ROOTFS_EXT2_SIZE`.

Is there a way to automate this, or a decent workaround?

Some workarounds I'm considering:

* put the big stuff under 9p:
* use CPIO and `-initrd`

More information about the buildroot mailing list