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
committerSteve Sakoman <steve@sakoman.com>2025-09-19 07:03:31 -0700
commit03a1a4c9565554415dc2f2ce654172a33d74e2b2 (patch)
tree3c98323956daa28e823026cd9f08e82067e42052 /documentation/ref-manual/variables.rst
parent0813376d840e05d75a844853d288e91a89e92e1e (diff)
downloadpoky-03a1a4c9565554415dc2f2ce654172a33d74e2b2.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: 71a3933c609ce73ff07e5be48d9e7b03f22ef8d7) 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>
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 15c726de4e..dfe143554f 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -3535,6 +3535,12 @@ system and gives an overview of their function and contents.
3535 added to the image by using the :term:`IMAGE_ROOTFS_EXTRA_SPACE` 3535 added to the image by using the :term:`IMAGE_ROOTFS_EXTRA_SPACE`
3536 variable. 3536 variable.
3537 3537
3538 When using Wic tool, beware that a second overhead factor is also applied.
3539 This overhead value is defined by the ``--overhead-factor`` option, which
3540 defaults to "1.3" when omitted. See the
3541 :ref:`ref-manual/kickstart:command: part or partition` chapter in
3542 :doc:`/ref-manual/kickstart` for details.
3543
3538 :term:`IMAGE_PKGTYPE` 3544 :term:`IMAGE_PKGTYPE`
3539 Defines the package type (i.e. DEB, RPM, IPK, or TAR) used by the 3545 Defines the package type (i.e. DEB, RPM, IPK, or TAR) used by the
3540 OpenEmbedded build system. The variable is defined appropriately by 3546 OpenEmbedded build system. The variable is defined appropriately by