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:32:27 -0700
commit8b9ff99208e66d019829f414624ee45424957fae (patch)
tree33f2787668bd430a0ca539a95b129e6b84b0f6e7
parent26c602f913f1266d123b4b05efe53a8292daf362 (diff)
downloadpoky-8b9ff99208e66d019829f414624ee45424957fae.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: 987929b349a927d6b243d351aebebfd160d1b097) 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 5a9e97ab6f..91542a1232 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -4224,6 +4224,12 @@ system and gives an overview of their function and contents.
4224 added to the image by using the :term:`IMAGE_ROOTFS_EXTRA_SPACE` 4224 added to the image by using the :term:`IMAGE_ROOTFS_EXTRA_SPACE`
4225 variable. 4225 variable.
4226 4226
4227 When using Wic tool, beware that a second overhead factor is also applied.
4228 This overhead value is defined by the ``--overhead-factor`` option, which
4229 defaults to "1.3" when omitted. See the
4230 :ref:`ref-manual/kickstart:command: part or partition` chapter in
4231 :doc:`/ref-manual/kickstart` for details.
4232
4227 :term:`IMAGE_PKGTYPE` 4233 :term:`IMAGE_PKGTYPE`
4228 Defines the package type (i.e. DEB, RPM or IPK) used by the 4234 Defines the package type (i.e. DEB, RPM or IPK) used by the
4229 OpenEmbedded build system. The variable is defined appropriately by 4235 OpenEmbedded build system. The variable is defined appropriately by