Philip Kirchhoff
Philip Kirchhoff

Reputation: 27

Yocto - increase size of rootfs

I have read that it is possible to increase the size of the rootfs with the variable IMAGE_ROOTFS_EXTRA_SPACE. Can someone tell me in which file I have to set this variable.

Upvotes: 1

Views: 3715

Answers (1)

Talel BELHAJSALEM
Talel BELHAJSALEM

Reputation: 4294

IMAGE_ROOTFS_EXTRA_SPACE variable is defined by default to 0 in:

poky/meta/conf/bitbake.conf

So, you can modify it in any .conf file such as local.conf or in your machine specific configuration file.

Also, you can set it in any image recipe file.

Example:

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

Upvotes: 4

Related Questions