diff options
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-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 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. |