Re: How to reduce rootfs image size?

Fabien Lahoudere <fabien.lahoudere@...>


If you want to reduce the size of your root filesystem, you have to
remove software you don't need. IMAGE_ROOTFS_SIZE has no effect on the
size of your image-rootfs.tar.gz. Putting a smaller size will just lead
to a rootfs that don't fit in the expected IMAGE_ROOTFS_SIZE.


Le mercredi 27 novembre 2019 à 22:12 +1100, JH a écrit :

Does the Yocto rootfs image size is based on real contents included
the image-rootfs.tar.gz?

When I build the image with very large size of applications and
libraries such as boost, I have my about 44 MB,
then I removed all large size of applications and libraries, I
IMAGE_ROOTFS_SIZE to a small size IMAGE_ROOTFS_SIZE = 20000, I
the image-rootfs.tar.gz should be reduced to a small size, but it is
still 43 MB I don't believe it is that big, which variable I should
use to reduce the image size?

Thank you.

Kind regards,

- jh
Links: You receive all messages sent to this group.

View/Reply Online (#47433):
Mute This Topic:
Group Owner: yocto+owner@...
Unsubscribe: [

Join { to automatically receive all group messages.