diff options
Diffstat (limited to 'documentation')
| -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. |
