diff options
| author | Etienne Cordonnier <ecordonnier@snap.com> | 2025-05-23 16:34:29 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-06-02 10:26:30 -0700 |
| commit | b292d8f365f7acd2646eb81f55d36a1b42dcf988 (patch) | |
| tree | 73796a2c9574fad8579e51df4b93e4ceb76ff95b /documentation/ref-manual | |
| parent | 07a064344d72a43795b8e6389e8d351735fc6c3a (diff) | |
| download | poky-b292d8f365f7acd2646eb81f55d36a1b42dcf988.tar.gz | |
ref-manual/variables.rst: document SSTATE_SKIP_CREATION
(From yocto-docs rev: b3720565e7df427eef78520173e11047a73aec76)
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.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 4953fae4b6..b6d3142b98 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -9104,6 +9104,26 @@ system and gives an overview of their function and contents. | |||
| 9104 | 9104 | ||
| 9105 | For details on the process, see the :ref:`ref-classes-staging` class. | 9105 | For details on the process, see the :ref:`ref-classes-staging` class. |
| 9106 | 9106 | ||
| 9107 | :term:`SSTATE_SKIP_CREATION` | ||
| 9108 | The :term:`SSTATE_SKIP_CREATION` variable can be used to skip the | ||
| 9109 | creation of :ref:`shared state <overview-manual/concepts:shared state cache>` | ||
| 9110 | tarball files. It makes sense e.g. for image creation tasks as tarring images | ||
| 9111 | and keeping them in sstate would consume a lot of disk space. | ||
| 9112 | |||
| 9113 | In general it is not recommended to use this variable as missing sstate | ||
| 9114 | artefacts adversely impact the build, particularly for entries in the | ||
| 9115 | middle of dependency chains. The case it can make sense is where the | ||
| 9116 | size and time costs of the artefact are similar to just running the | ||
| 9117 | tasks. This generally only applies to end artefact output like images. | ||
| 9118 | |||
| 9119 | The syntax to disable it for one task is:: | ||
| 9120 | |||
| 9121 | SSTATE_SKIP_CREATION:task-image-complete = "1" | ||
| 9122 | |||
| 9123 | The syntax to disable it for the whole recipe is:: | ||
| 9124 | |||
| 9125 | SSTATE_SKIP_CREATION = "1" | ||
| 9126 | |||
| 9107 | :term:`STAGING_BASE_LIBDIR_NATIVE` | 9127 | :term:`STAGING_BASE_LIBDIR_NATIVE` |
| 9108 | Specifies the path to the ``/lib`` subdirectory of the sysroot | 9128 | Specifies the path to the ``/lib`` subdirectory of the sysroot |
| 9109 | directory for the build host. | 9129 | directory for the build host. |
