Re: [yocto] How to reduce rootfs image size?

2019-11-28 Thread JH
Thanks Josef, Fabien and Rudolf, it's been great help to clarify it, very appreciated. On 11/28/19, Rudolf J Streif wrote: > Hi JH, > > The image root file system size is based on the actual content of the > root file system. Besides ROOTFS_SIZE there are other variables that > control how the

Re: [yocto] How to reduce rootfs image size?

2019-11-27 Thread Rudolf J Streif
Hi JH, The image root file system size is based on the actual content of the root file system. Besides ROOTFS_SIZE there are other variables that control how the root file system is sized: IMAGE_ROOTFS_SIZE: Defines the size in kilobytes of the created root filesystem image. The build system

Re: [yocto] How to reduce rootfs image size?

2019-11-27 Thread 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

Re: [yocto] How to reduce rootfs image size?

2019-11-27 Thread Josef Holzmayr
On Wed, Nov 27, 2019 at 10:12:13PM +1100, JH wrote: > 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,

[yocto] How to reduce rootfs image size?

2019-11-27 Thread JH
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