Re: How to reduce rootfs image size?


Fabien Lahoudere <fabien.lahoudere@...>
 

Hi

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.

Fabien

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

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

When I build the image with very large size of applications and
libraries such as boost, I have my image-rootfs.tr.gz about 44 MB,
then I removed all large size of applications and libraries, I
changed
IMAGE_ROOTFS_SIZE to a small size IMAGE_ROOTFS_SIZE = 20000, I
thought
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):
https://lists.yoctoproject.org/g/yocto/message/47433
Mute This Topic: https://lists.yoctoproject.org/mt/62495609/3618224
Group Owner: yocto+owner@...
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [fabien.la
houdere@...]
-=-=-=-=-=-=-=-=-=-=-=-

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.