diff options
author | Christos Gavros <gavrosc@yahoo.com> | 2025-05-20 12:19:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-26 13:02:49 +0100 |
commit | d4d152d4c687e795db2982ab731afb11bb232a36 (patch) | |
tree | f5e7d6695c421f98c8e7e781fbf5f98b7d5324ae /documentation | |
parent | 50d1bec52dbd055329fb1bc84bd0383fe10b8519 (diff) | |
download | poky-d4d152d4c687e795db2982ab731afb11bb232a36.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: 07bcdddaf71c76cdec186cf0ddd97a47eec54972)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/variables.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 40ff816aca..249211e3b6 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -4750,6 +4750,20 @@ system and gives an overview of their function and contents. | |||
4750 | See the :term:`MACHINE` variable for additional | 4750 | See the :term:`MACHINE` variable for additional |
4751 | information. | 4751 | information. |
4752 | 4752 | ||
4753 | :term:`INITRAMFS_MAXSIZE` | ||
4754 | Defines the maximum allowed size of the :term:`Initramfs` image in Kbytes. | ||
4755 | The build will fail if the :term:`Initramfs` image size exceeds this value. | ||
4756 | |||
4757 | The :term:`Initramfs` image size undergoes several calculation steps before | ||
4758 | being compared to :term:`INITRAMFS_MAXSIZE`. | ||
4759 | These steps are the same as those used for :term:`IMAGE_ROOTFS_MAXSIZE` | ||
4760 | and are described in detail in that entry. | ||
4761 | |||
4762 | Thus, :term:`INITRAMFS_MAXSIZE` is compared with the result of the calculations | ||
4763 | and is independent of the final image type (e.g. compressed). | ||
4764 | A default value for :term:`INITRAMFS_MAXSIZE` is set in | ||
4765 | :oe_git:`meta/conf/bitbake.conf </openembedded-core/tree/meta/conf/bitbake.conf>`. | ||
4766 | |||
4753 | :term:`INITRAMFS_MULTICONFIG` | 4767 | :term:`INITRAMFS_MULTICONFIG` |
4754 | Defines the multiconfig to create a multiconfig dependency to be used by | 4768 | Defines the multiconfig to create a multiconfig dependency to be used by |
4755 | the :ref:`ref-classes-kernel` class. | 4769 | the :ref:`ref-classes-kernel` class. |