Yocto - 增加 rootfs 的大小

Yocto - increase size of rootfs

我了解到可以使用变量 IMAGE_ROOTFS_EXTRA_SPACE 增加 rootfs 的大小。谁能告诉我必须在哪个文件中设置这个变量。

IMAGE_ROOTFS_EXTRA_SPACE变量默认定义为0 in:

poky/meta/conf/bitbake.conf

因此,您可以在任何 .conf 文件(例如 local.conf 或您的计算机特定配置文件中修改它。

此外,您可以在任何图像配方文件中设置它。

示例:

meta-example/recipes-core/images/example-image.bb