summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorEtienne Cordonnier <ecordonnier@snap.com>2025-05-23 16:34:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-26 13:02:49 +0100
commit1f49629be5443982cf457a047a1cf4e1b3f20411 (patch)
tree5fd7d899f9bc21648a7d3f1972182083d66719c8 /documentation
parent3d49affb495fcd35c20efeb2045c7c843943c952 (diff)
downloadpoky-1f49629be5443982cf457a047a1cf4e1b3f20411.tar.gz
ref-manual/variables.rst: document SSTATE_SKIP_CREATION
(From yocto-docs rev: 3982720668aafa18c9ed27304d09f896740b1653) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> 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.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 6d1b64ef86..1425358a36 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -9122,6 +9122,26 @@ system and gives an overview of their function and contents.
9122 9122
9123 For details on the process, see the :ref:`ref-classes-staging` class. 9123 For details on the process, see the :ref:`ref-classes-staging` class.
9124 9124
9125 :term:`SSTATE_SKIP_CREATION`
9126 The :term:`SSTATE_SKIP_CREATION` variable can be used to skip the
9127 creation of :ref:`shared state <overview-manual/concepts:shared state cache>`
9128 tarball files. It makes sense e.g. for image creation tasks as tarring images
9129 and keeping them in sstate would consume a lot of disk space.
9130
9131 In general it is not recommended to use this variable as missing sstate
9132 artefacts adversely impact the build, particularly for entries in the
9133 middle of dependency chains. The case it can make sense is where the
9134 size and time costs of the artefact are similar to just running the
9135 tasks. This generally only applies to end artefact output like images.
9136
9137 The syntax to disable it for one task is::
9138
9139 SSTATE_SKIP_CREATION:task-image-complete = "1"
9140
9141 The syntax to disable it for the whole recipe is::
9142
9143 SSTATE_SKIP_CREATION = "1"
9144
9125 :term:`STAGING_BASE_LIBDIR_NATIVE` 9145 :term:`STAGING_BASE_LIBDIR_NATIVE`
9126 Specifies the path to the ``/lib`` subdirectory of the sysroot 9146 Specifies the path to the ``/lib`` subdirectory of the sysroot
9127 directory for the build host. 9147 directory for the build host.