diff options
author | Etienne Cordonnier <ecordonnier@snap.com> | 2025-05-23 16:34:29 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-05-27 09:38:57 -0700 |
commit | e71727aa856ccc8218e01d5ed6d460c0af36f7e6 (patch) | |
tree | 6aa36cd737cde410318f3af3e2c561e7abe5033d | |
parent | 8b9911c2ebee60e6b80df908144afbd96cefb142 (diff) | |
download | poky-e71727aa856ccc8218e01d5ed6d460c0af36f7e6.tar.gz |
ref-manual/variables.rst: document SSTATE_SKIP_CREATION
(From yocto-docs rev: 40045299491087d3f7d269b696ae48d513dae435)
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>
-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 ae59164eab..9aedc2aea6 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -8726,6 +8726,26 @@ system and gives an overview of their function and contents. | |||
8726 | 8726 | ||
8727 | For details on the process, see the :ref:`ref-classes-staging` class. | 8727 | For details on the process, see the :ref:`ref-classes-staging` class. |
8728 | 8728 | ||
8729 | :term:`SSTATE_SKIP_CREATION` | ||
8730 | The :term:`SSTATE_SKIP_CREATION` variable can be used to skip the | ||
8731 | creation of :ref:`shared state <overview-manual/concepts:shared state cache>` | ||
8732 | tarball files. It makes sense e.g. for image creation tasks as tarring images | ||
8733 | and keeping them in sstate would consume a lot of disk space. | ||
8734 | |||
8735 | In general it is not recommended to use this variable as missing sstate | ||
8736 | artefacts adversely impact the build, particularly for entries in the | ||
8737 | middle of dependency chains. The case it can make sense is where the | ||
8738 | size and time costs of the artefact are similar to just running the | ||
8739 | tasks. This generally only applies to end artefact output like images. | ||
8740 | |||
8741 | The syntax to disable it for one task is:: | ||
8742 | |||
8743 | SSTATE_SKIP_CREATION:task-image-complete = "1" | ||
8744 | |||
8745 | The syntax to disable it for the whole recipe is:: | ||
8746 | |||
8747 | SSTATE_SKIP_CREATION = "1" | ||
8748 | |||
8729 | :term:`STAGING_BASE_LIBDIR_NATIVE` | 8749 | :term:`STAGING_BASE_LIBDIR_NATIVE` |
8730 | Specifies the path to the ``/lib`` subdirectory of the sysroot | 8750 | Specifies the path to the ``/lib`` subdirectory of the sysroot |
8731 | directory for the build host. | 8751 | directory for the build host. |