Skip to contentSkip to conversation

ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE

PATCH Superseded Weisser, Pascal 2 participants 2 messages Feb 6, 2025

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE

This patch adds the missing documentation of variable IMAGE_ROOTFS_MAXSIZE to the reference manual.

---
 documentation/ref-manual/variables.rst | 3 +++
 1 file changed, 3 insertions(+)
documentation/ref-manual/variables.rst +3 -0
index 47d4e814f..c80696b64 100644
@@ -3984,6 +3984,9 @@ system and gives an overview of their function and contents.
 
          IMAGE_ROOTFS_EXTRA_SPACE = "41943040"
 
+   :term:`IMAGE_ROOTFS_MAXSIZE`
+       Defines the maximum size in Kbytes for the generated image.
+
    :term:`IMAGE_ROOTFS_SIZE`
       Defines the size in Kbytes for the generated image. The OpenEmbedded
       build system determines the final size for the generated image using
Signature · 1 line
2.48.1
#1 lore raw

Hi Pascal,

Quoted 3 lines · Pascal.ext via lists.yoctoproject.org

This patch adds the missing documentation of variable IMAGE_ROOTFS_MAXSIZE to the reference manual.

Thanks for the patch!

Don't forget to add the v2 after PATCH in the title when sending the v2 (this is the v2 but it's named the same as v1, so it's a bit difficult to know which patch to review :) ). This is usually done via git send-email -v2 for example :) (or git format-patch -v2)

Quoted 10 lines
---
  documentation/ref-manual/variables.rst | 3 +++
  1 file changed, 3 insertions(+)
documentation/ref-manual/variables.rst +0 -0
index 47d4e814f..c80696b64 100644

documentation/ref-manual/variables.rst system and gives an overview of their function and contents. · line 3989

Quoted 6 lines
documentation/ref-manual/variables.rst +3 -0
@@ -3984,6 +3984,9 @@ system and gives an overview of their function and contents.
 
           IMAGE_ROOTFS_EXTRA_SPACE = "41943040"
 
+   :term:`IMAGE_ROOTFS_MAXSIZE`
+       Defines the maximum size in Kbytes for the generated image.
+

I think we could say that if the generated image size is above that, the build will fail. We could say also that it's a good idea for images that need to fit on a limited space (e.g. SD card, a fixed-size partition, ...).

It seems like we have another variable that has virtually the same behavior: INITRAMFS_MAXSIZE, is this something you could contribute a patch for too?

Thanks!
Quentin