Hi,
I’m facing to a problem during do_image_ext4 task with my yocto project an especially during ROOTFS size calculation.
I’ve integrated Mender with these parameters:
MENDER_STORAGE_TOTAL_SIZE_MB_DEFAULT = "15028"
MENDER_STORAGE_TOTAL_SIZE_MB = "15028"
MENDER_DATA_PART_SIZE_MB = "7514"
So Mender calculate these partitions
boot => 16MB
rootA => 3749 MB
rootB => 37549MB
The size of my ROOTFS (without data directory) is 1GB.
During the build, a custom recipe move about 4GB into the data directory of the ROOTFS.
The problem is that during do_image_ext4 task, there is a check that verify if ROOTFS size do not exceed rootA/B partition size, and it fails because the check integrate data directory.
Is there a way to avoid that?