summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorEtienne Cordonnier <ecordonnier@snap.com>2025-05-23 16:34:29 +0200
committerSteve Sakoman <steve@sakoman.com>2025-05-28 08:46:32 -0700
commit14ad8559169391bca14657c266fa318a449f988d (patch)
tree74375ffbfa3f35e33e9127fb4dc9c8ae66fb426f /documentation/ref-manual
parentc90ab351eba65ba080fa38756a91763efd1f513d (diff)
downloadpoky-14ad8559169391bca14657c266fa318a449f988d.tar.gz
ref-manual/variables.rst: document SSTATE_SKIP_CREATION
(From yocto-docs rev: 3ff58cc9f3dd200054d241284e183d531502eca4) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 3982720668aafa18c9ed27304d09f896740b1653) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/ref-manual')
-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 9c57e58135..f84589b3a0 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -8065,6 +8065,26 @@ system and gives an overview of their function and contents.
8065 For details on the process, see the 8065 For details on the process, see the
8066 :ref:`staging <ref-classes-staging>` class. 8066 :ref:`staging <ref-classes-staging>` class.
8067 8067
8068 :term:`SSTATE_SKIP_CREATION`
8069 The :term:`SSTATE_SKIP_CREATION` variable can be used to skip the
8070 creation of :ref:`shared state <overview-manual/concepts:shared state cache>`
8071 tarball files. It makes sense e.g. for image creation tasks as tarring images
8072 and keeping them in sstate would consume a lot of disk space.
8073
8074 In general it is not recommended to use this variable as missing sstate
8075 artefacts adversely impact the build, particularly for entries in the
8076 middle of dependency chains. The case it can make sense is where the
8077 size and time costs of the artefact are similar to just running the
8078 tasks. This generally only applies to end artefact output like images.
8079
8080 The syntax to disable it for one task is::
8081
8082 SSTATE_SKIP_CREATION:task-image-complete = "1"
8083
8084 The syntax to disable it for the whole recipe is::
8085
8086 SSTATE_SKIP_CREATION = "1"
8087
8068 :term:`STAGING_BASE_LIBDIR_NATIVE` 8088 :term:`STAGING_BASE_LIBDIR_NATIVE`
8069 Specifies the path to the ``/lib`` subdirectory of the sysroot 8089 Specifies the path to the ``/lib`` subdirectory of the sysroot
8070 directory for the build host. 8090 directory for the build host.