Skip to contentSkip to conversation

Difference in setting IMAGE_ROOTFS_SIZE in local.conf vs size in wks file?

DISCUSSION [email protected] 1 participant 1 message Aug 7, 2020

lore
Share & tools
lore
#0 lore raw

I am having confusion in understanding the exact difference between setting IMAGE_ROOTFS_SIZE in local.conf and setting size in wks file for rootfs. If I have to create two rootfs partitions of 1GB, isn't setting IMAGE_ROOTFS_SIZE = "1048756" enough? Yes obviously, I need to create two rootfs in wks file in this way, just confused about the size parameter.

Quoted 11 lines

part --align 4 --fixed-size 1 --no-table
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --align 4 --size 60
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label A --align 4 --use-uuid --size
part --source rootfs --ondisk mmcblk0 --fstype=ext4 --label B --align 4 --use-uuid --size
part /data --ondisk mmcblk0 --fstype=ext4 --label data --size 128 --align 4 --extra-space 0