Skip to main content
JJimé.2
Associate II
April 17, 2023
Question

Rootfs size is exceeding IMAGE_ROOTFS_MAXSIZE

  • April 17, 2023
  • 1 reply
  • 1519 views

Hello,

I am currently working with st-image-core in Yocto and attempting to remove some packages that are not necessary for our needs. While I have successfully removed a few packages, some functionality on our board has stopped working because I may have removed too much.

Most of the packages I removed were from packagegroup-base-extended, which I removed completely. After checking which packages from that packagegroup were necessary to add back, I encountered an error. However, when I add packagegroup-base-extended back, the error disappears. This is confusing because I am adding fewer packages than those included in packagegroup-base-extended:

ERROR: st-image-core-1.0-r0 do_image_tar: The rootfs size 1247592(K) exceeds IMAGE_ROOTFS_MAXSIZE: 753664(K)

I have tried overriding IMAGE_ROOTFS_MAXSIZE in our bbapend file, but it doesn’t seem to have any effect. Is there any way to fix this error?

Thank you.

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
April 17, 2023

Perhaps identify what's doubling the storage expectations currently. If that's a single package or file.

Y​ou could for a sandbox build increase the MAX size so that build completes and inspect the content.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..