All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE
@ 2025-02-06 15:35 Weisser, Pascal
  2025-02-06 15:47 ` [docs] " Quentin Schulz
  2025-02-07  9:38 ` Antonin Godard
  0 siblings, 2 replies; 3+ messages in thread
From: Weisser, Pascal @ 2025-02-06 15:35 UTC (permalink / raw)
  To: docs; +Cc: Weisser, Pascal

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

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
---
 documentation/ref-manual/variables.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 47d4e814f..889944b0a 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -3984,6 +3984,12 @@ 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. If the
+       generated image size is above that, the build will fail. It's a good
+       idea to set this variable for images that need to fit on a limited
+       space (e.g. SD card, a fixed-size partition, ...).
+
    :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
-- 
2.48.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [docs] [PATCH v3] ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE
  2025-02-06 15:35 [PATCH v3] ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE Weisser, Pascal
@ 2025-02-06 15:47 ` Quentin Schulz
  2025-02-07  9:38 ` Antonin Godard
  1 sibling, 0 replies; 3+ messages in thread
From: Quentin Schulz @ 2025-02-06 15:47 UTC (permalink / raw)
  To: Pascal.Weisser.ext, docs

Hi Pascal,

On 2/6/25 4:35 PM, Weisser, Pascal.ext via lists.yoctoproject.org wrote:
> This patch adds the missing documentation of variable IMAGE_ROOTFS_MAXSIZE
> to the reference manual.
> 
> Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [docs] [PATCH v3] ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE
  2025-02-06 15:35 [PATCH v3] ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE Weisser, Pascal
  2025-02-06 15:47 ` [docs] " Quentin Schulz
@ 2025-02-07  9:38 ` Antonin Godard
  1 sibling, 0 replies; 3+ messages in thread
From: Antonin Godard @ 2025-02-07  9:38 UTC (permalink / raw)
  To: Pascal.Weisser.ext, docs; +Cc: Weisser, Pascal

Hi Pascal,

On Thu Feb 6, 2025 at 4:35 PM CET, Pascal.ext via lists.yoctoproject.org Weisser wrote:
> This patch adds the missing documentation of variable IMAGE_ROOTFS_MAXSIZE
> to the reference manual.
>
> Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
> ---
>  documentation/ref-manual/variables.rst | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
> index 47d4e814f..889944b0a 100644
> --- a/documentation/ref-manual/variables.rst
> +++ b/documentation/ref-manual/variables.rst
> @@ -3984,6 +3984,12 @@ 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. If the
> +       generated image size is above that, the build will fail. It's a good
> +       idea to set this variable for images that need to fit on a limited
> +       space (e.g. SD card, a fixed-size partition, ...).

Here the indentation should be three spaces (compared to ":term:"), not four.

> +
>     :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

Thanks for this, I'm surprised this wasn't documented already :)

Antonin

-- 
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-07  9:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06 15:35 [PATCH v3] ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE Weisser, Pascal
2025-02-06 15:47 ` [docs] " Quentin Schulz
2025-02-07  9:38 ` Antonin Godard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.