summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorChristos Gavros <gavrosc@yahoo.com>2025-05-20 12:19:52 +0200
committerSteve Sakoman <steve@sakoman.com>2025-06-02 10:26:30 -0700
commitc3fcc45fea7a95a344e9a74c13a8e1cef8dd81b7 (patch)
treecbb36100b73806b5a2336471c77f1f933cc96737 /documentation/ref-manual
parent109a6addc28305ecbb580907db86e0ea05880258 (diff)
downloadpoky-c3fcc45fea7a95a344e9a74c13a8e1cef8dd81b7.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: 33dd2be43418bfdb61b73abc82e9aa8bdc331e70) 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/ref-manual')
-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 72e0c35a35..079ee76af8 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4732,6 +4732,20 @@ system and gives an overview of their function and contents.
4732 See the :term:`MACHINE` variable for additional 4732 See the :term:`MACHINE` variable for additional
4733 information. 4733 information.
4734 4734
4735 :term:`INITRAMFS_MAXSIZE`
4736 Defines the maximum allowed size of the :term:`Initramfs` image in Kbytes.
4737 The build will fail if the :term:`Initramfs` image size exceeds this value.
4738
4739 The :term:`Initramfs` image size undergoes several calculation steps before
4740 being compared to :term:`INITRAMFS_MAXSIZE`.
4741 These steps are the same as those used for :term:`IMAGE_ROOTFS_MAXSIZE`
4742 and are described in detail in that entry.
4743
4744 Thus, :term:`INITRAMFS_MAXSIZE` is compared with the result of the calculations
4745 and is independent of the final image type (e.g. compressed).
4746 A default value for :term:`INITRAMFS_MAXSIZE` is set in
4747 :oe_git:`meta/conf/bitbake.conf </openembedded-core/tree/meta/conf/bitbake.conf>`.
4748
4735 :term:`INITRAMFS_MULTICONFIG` 4749 :term:`INITRAMFS_MULTICONFIG`
4736 Defines the multiconfig to create a multiconfig dependency to be used by 4750 Defines the multiconfig to create a multiconfig dependency to be used by
4737 the :ref:`ref-classes-kernel` class. 4751 the :ref:`ref-classes-kernel` class.