summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/variables.rst
diff options
context:
space:
mode:
authorJoao Marcos Costa <joaomarcos.costa@bootlin.com>2025-09-01 18:07:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-16 12:09:41 +0100
commit12f95ae17091eb36b2bfa092407f79008b971ff1 (patch)
tree117ef98e3171e64d2f3ef1a438daf6aba71cd45a /documentation/ref-manual/variables.rst
parent612ac91bb0de2e7d2769dbe1f412a007124e1eed (diff)
downloadpoky-12f95ae17091eb36b2bfa092407f79008b971ff1.tar.gz
ref-manual/variables.rst: expand IMAGE_OVERHEAD_FACTOR glossary entry
There's a (second) overhead factor applied in images generated with Wic, and this is already documented in the .wks reference. However, the IMAGE_OVERHEAD_FACTOR entry does not mention it, and by looking at the partition sizes (e.g. with parted) one may find it confusing that they don't match with the expected rootfs size (e.g. in a scenario where the extra space is "0" and IMAGE_OVERHEAD_FACTOR="1.0"). This second overhead is already documented, though: https://docs.yoctoproject.org/ref-manual/kickstart.html#command-part-or-partition Mention the '--overhead-factor' option in the glossary entry and add a reference to the wks documentation. (From yocto-docs rev: b9040e20b015e9b02683ec3014e4ade5eb59d41a) Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.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/ref-manual/variables.rst')
-rw-r--r--documentation/ref-manual/variables.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index d559899c6e..18ead7d046 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4166,6 +4166,12 @@ system and gives an overview of their function and contents.
4166 added to the image by using the :term:`IMAGE_ROOTFS_EXTRA_SPACE` 4166 added to the image by using the :term:`IMAGE_ROOTFS_EXTRA_SPACE`
4167 variable. 4167 variable.
4168 4168
4169 When using Wic tool, beware that a second overhead factor is also applied.
4170 This overhead value is defined by the ``--overhead-factor`` option, which
4171 defaults to "1.3" when omitted. See the
4172 :ref:`ref-manual/kickstart:command: part or partition` chapter in
4173 :doc:`/ref-manual/kickstart` for details.
4174
4169 :term:`IMAGE_PKGTYPE` 4175 :term:`IMAGE_PKGTYPE`
4170 Defines the package type (i.e. DEB, RPM or IPK) used by the 4176 Defines the package type (i.e. DEB, RPM or IPK) used by the
4171 OpenEmbedded build system. The variable is defined appropriately by 4177 OpenEmbedded build system. The variable is defined appropriately by