I got this error: ERROR: Actual rootfs size (29280 kB) is larger than allowed size 16384 kB
while building mender image. The contents of wks
file is given below.
I’ve tried changing MENDER_STORAGE_TOTAL_SIZE_MB
to various large values, still I’m getting the same errors(ERROR: Actual rootfs size (29280 kB) is larger than allowed size 16384 kB).
### Contents of wks file ###
cat /home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/imx8mmevk-poky-linux/core-image-base/1.0-r0/mender-sdimg.wks
# embed bootloader
part --source rawcopy --sourceparams="file=/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/imx8mmevk-poky-linux/core-image-base/1.0-r0/u-boot-imx8mmevk.bin-sd" --ondisk "mmcblk1" --align 33 --no-table
part --source rawcopy --sourceparams="file=/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/imx8mmevk-poky-linux/core-image-base/1.0-r0/uboot.env" --ondisk "mmcblk1" --align 8192 --no-table
part --source rootfs --rootfs-dir /home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/imx8mmevk-poky-linux/core-image-base/1.0-r0/bootfs.image_sdimg --ondisk "mmcblk1" --fstype=vfat --label boot --align 8192 --fixed-size 16 --active
part --source rawcopy --sourceparams="file=/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/imx8mmevk-poky-linux/core-image-base/1.0-r0/deploy-core-image-base-image-complete/core-image-base-imx8mmevk.ext4" --ondisk "mmcblk1" --align 8192 --fixed-size 3031040k
part --source rawcopy --sourceparams="file=/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/imx8mmevk-poky-linux/core-image-base/1.0-r0/deploy-core-image-base-image-complete/core-image-base-imx8mmevk.ext4" --ondisk "mmcblk1" --align 8192 --fixed-size 3031040k
part --source rawcopy --sourceparams="file=/home/ux/imx8/yocto/zeusl/core-base-build/tmp/work/imx8mmevk-poky-linux/core-image-base/1.0-r0/deploy-core-image-base-image-complete/core-image-base-imx8mmevk.dataimg" --ondisk "mmcblk1" --align 8192 --fixed-size 32 --mkfs-extraopts=''
bootloader --ptable msdos
### End of contents of wks file ###
Can you help me getting it right?
How can I control the wks file to only include u-boot
image in the FAT
partition?