summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoao Marcos Costa <joaomarcos.costa@bootlin.com>2025-09-01 18:07:59 +0200
committerSteve Sakoman <steve@sakoman.com>2025-09-17 15:36:45 -0700
commitef363542caaf7971360d54c503e73bbb838bf760 (patch)
tree0c7a5f0d880a47568db5730a162caf73a224eb56
parent91a33194a45707ee50d89f0d1654fabcac99a99d (diff)
downloadpoky-ef363542caaf7971360d54c503e73bbb838bf760.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: 18a0dcefd4e688d60e57e8531b0ac283764e4e89) 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> (cherry picked from commit b9040e20b015e9b02683ec3014e4ade5eb59d41a) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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 ef64bcad49..59b71a4ef7 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4079,6 +4079,12 @@ system and gives an overview of their function and contents.
4079 added to the image by using the :term:`IMAGE_ROOTFS_EXTRA_SPACE` 4079 added to the image by using the :term:`IMAGE_ROOTFS_EXTRA_SPACE`
4080 variable. 4080 variable.
4081 4081
4082 When using Wic tool, beware that a second overhead factor is also applied.
4083 This overhead value is defined by the ``--overhead-factor`` option, which
4084 defaults to "1.3" when omitted. See the
4085 :ref:`ref-manual/kickstart:command: part or partition` chapter in
4086 :doc:`/ref-manual/kickstart` for details.
4087
4082 :term:`IMAGE_PKGTYPE` 4088 :term:`IMAGE_PKGTYPE`
4083 Defines the package type (i.e. DEB, RPM or IPK) used by the 4089 Defines the package type (i.e. DEB, RPM or IPK) used by the
4084 OpenEmbedded build system. The variable is defined appropriately by 4090 OpenEmbedded build system. The variable is defined appropriately by