summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorChristos Gavros <gavrosc@yahoo.com>2025-05-20 12:19:52 +0200
committerSteve Sakoman <steve@sakoman.com>2025-05-28 08:46:32 -0700
commit9fe29f2369bd43d52656d1ec29acc59492744c68 (patch)
treee69d39a37c423e806d3ece3ecd4196809434d859 /documentation
parent304b1b285bcba62bdb4fe6cf056a140860fc50df (diff)
downloadpoky-9fe29f2369bd43d52656d1ec29acc59492744c68.tar.gz
ref-manual/variables.rst: document the INITRAMFS_MAXSIZE variable
This variable specifies the maximum allowed size of the initramfs image in Kbytes. Fixes [YOCTO #15797] CC: Yoann Congal <yoann.congal@smile.fr> CC: Randy MacLeod <randy.macleod@windriver.com> CC: Antonin Godard <antonin.godard@bootlin.com> (From yocto-docs rev: 215796836549ae31ef8a9f4f2421316d20d4e3c3) Signed-off-by: Christos Gavros <gavrosc@yahoo.com> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 07bcdddaf71c76cdec186cf0ddd97a47eec54972) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/variables.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index bad400586a..b00c8c0fda 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4040,6 +4040,20 @@ system and gives an overview of their function and contents.
4040 See the :term:`MACHINE` variable for additional 4040 See the :term:`MACHINE` variable for additional
4041 information. 4041 information.
4042 4042
4043 :term:`INITRAMFS_MAXSIZE`
4044 Defines the maximum allowed size of the :term:`Initramfs` image in Kbytes.
4045 The build will fail if the :term:`Initramfs` image size exceeds this value.
4046
4047 The :term:`Initramfs` image size undergoes several calculation steps before
4048 being compared to :term:`INITRAMFS_MAXSIZE`.
4049 These steps are the same as those used for :term:`IMAGE_ROOTFS_MAXSIZE`
4050 and are described in detail in that entry.
4051
4052 Thus, :term:`INITRAMFS_MAXSIZE` is compared with the result of the calculations
4053 and is independent of the final image type (e.g. compressed).
4054 A default value for :term:`INITRAMFS_MAXSIZE` is set in
4055 :oe_git:`meta/conf/bitbake.conf </openembedded-core/tree/meta/conf/bitbake.conf>`.
4056
4043 :term:`INITRAMFS_MULTICONFIG` 4057 :term:`INITRAMFS_MULTICONFIG`
4044 Defines the multiconfig to create a multiconfig dependency to be used by the :ref:`kernel <ref-classes-kernel>` class. 4058 Defines the multiconfig to create a multiconfig dependency to be used by the :ref:`kernel <ref-classes-kernel>` class.
4045 4059