[ 物联网篇 ] 16 – NXP 中 meta-mender layer 编译错误解决方法
- 2020 年 3 月 27 日
- 筆記

错误日志 :
ERROR: fsl-image-multimedia-test-1.0-r0 do_rootfs_wicenv: The rootfs size 245760(K) overrides IMAGE_ROOTFS_MAXSIZE: 212992(K) ERROR: fsl-image-multimedia-test-1.0-r0 do_rootfs_wicenv: Function failed: set_image_size ERROR: Logfile of failure stored in: /home2/mike/nxp-mender/bld-xwayland-test/tmp/work/imx8mmevk-poky-linux/fsl-image-multimedia-test/1.0-r0/temp/log.do_rootfs_wicenv.148123 ERROR: Task (/home2/mike/nxp-mender/sources/meta-freescale-distro/recipes-fsl/images/fsl-image-multimedia-test.bb:do_rootfs_wicenv) failed with exit code '1' ERROR: fsl-image-multimedia-test-1.0-r0 do_image_ext4: The rootfs size 245760(K) overrides IMAGE_ROOTFS_MAXSIZE: 212992(K) ERROR: fsl-image-multimedia-test-1.0-r0 do_image_ext4: Function failed: set_image_size ERROR: Logfile of failure stored in: /home2/mike/nxp-mender/bld-xwayland-test/tmp/work/imx8mmevk-poky-linux/fsl-image-multimedia-test/1.0-r0/temp/log.do_image_ext4.148124 ERROR: Task (/home2/mike/nxp-mender/sources/meta-freescale-distro/recipes-fsl/images/fsl-image-multimedia-test.bb:do_image_ext4) failed with exit code '1'
参考Include meta-nodejs causes do_rootfs_wicenv: Function failed: set_image_size
修改方法 :
bld-xwayland-test/conf/local.conf 中 打开 MENDER_STORAGE_TOTAL_SIZE_MB = "2048"