diff options
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 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. |
