From 867ecfc84eee1a5d93bb19042934c8bd6a003353 Mon Sep 17 00:00:00 2001 From: "Weisser, Pascal" Date: Fri, 7 Feb 2025 10:55:40 +0100 Subject: [PATCH] ref-manual: Add missing variable IMAGE_ROOTFS_MAXSIZE This patch adds the missing documentation of variable IMAGE_ROOTFS_MAXSIZE to the reference manual. (From yocto-docs rev: 9a1802e70d37c29da750b1156eea7cce1e123f56) Signed-off-by: Reviewed-by: Quentin Schulz Signed-off-by: Antonin Godard (cherry picked from commit 1dcc8cf7c49da449b324a7bd6bb22effe1d53d70) Signed-off-by: Antonin Godard Signed-off-by: Steve Sakoman --- 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 7faea61416..a5d22abe0b 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -3934,6 +3934,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