summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristos Gavros <gavrosc@yahoo.com>2025-05-20 12:19:52 +0200
committerSteve Sakoman <steve@sakoman.com>2025-05-27 09:38:57 -0700
commite159b7c2510fbf856c7b262e035d39e59f628a26 (patch)
treeec71024c3c0fd778993ac6504dbd487c4be52e6c
parentf5f2c66470e95e4c254dc9225d418570c19a4ea8 (diff)
downloadpoky-e159b7c2510fbf856c7b262e035d39e59f628a26.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: 123d1ec8e532751ac416c21e3eaa92fd904e2171) 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>
-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 5dc7ecbba7..e374cdebfb 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4576,6 +4576,20 @@ system and gives an overview of their function and contents.
4576 See the :term:`MACHINE` variable for additional 4576 See the :term:`MACHINE` variable for additional
4577 information. 4577 information.
4578 4578
4579 :term:`INITRAMFS_MAXSIZE`
4580 Defines the maximum allowed size of the :term:`Initramfs` image in Kbytes.
4581 The build will fail if the :term:`Initramfs` image size exceeds this value.
4582
4583 The :term:`Initramfs` image size undergoes several calculation steps before
4584 being compared to :term:`INITRAMFS_MAXSIZE`.
4585 These steps are the same as those used for :term:`IMAGE_ROOTFS_MAXSIZE`
4586 and are described in detail in that entry.
4587
4588 Thus, :term:`INITRAMFS_MAXSIZE` is compared with the result of the calculations
4589 and is independent of the final image type (e.g. compressed).
4590 A default value for :term:`INITRAMFS_MAXSIZE` is set in
4591 :oe_git:`meta/conf/bitbake.conf </openembedded-core/tree/meta/conf/bitbake.conf>`.
4592
4579 :term:`INITRAMFS_MULTICONFIG` 4593 :term:`INITRAMFS_MULTICONFIG`
4580 Defines the multiconfig to create a multiconfig dependency to be used by 4594 Defines the multiconfig to create a multiconfig dependency to be used by
4581 the :ref:`ref-classes-kernel` class. 4595 the :ref:`ref-classes-kernel` class.