diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-10-09 09:41:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 17:05:04 +0100 |
commit | 37ebf54d1c8ba2b74ce2dc0e183d582873a300d1 (patch) | |
tree | c8c1d2d897094ebc9d593aefebe5da553d8576bd /documentation/ref-manual/variables.rst | |
parent | 7b717c7e2af713c7b4f47fcd5b395eda959d8c06 (diff) | |
download | poky-37ebf54d1c8ba2b74ce2dc0e183d582873a300d1.tar.gz |
ref-manual: add new retain class and variables
Document the new `retain` class with its configuration variables in the
variable index.
(From yocto-docs rev: b62f1be5dada0fb760ff7e0806b16225f7261560)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
-rw-r--r-- | documentation/ref-manual/variables.rst | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index dd97a63c0d..853e50cf9f 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -7137,6 +7137,41 @@ system and gives an overview of their function and contents. | |||
7137 | If both :term:`REQUIRED_VERSION` and :term:`PREFERRED_VERSION` are set | 7137 | If both :term:`REQUIRED_VERSION` and :term:`PREFERRED_VERSION` are set |
7138 | for the same recipe, the :term:`REQUIRED_VERSION` value applies. | 7138 | for the same recipe, the :term:`REQUIRED_VERSION` value applies. |
7139 | 7139 | ||
7140 | :term:`RETAIN_DIRS_ALWAYS` | ||
7141 | When inheriting the :ref:`ref-classes-retain` class, this variable holds | ||
7142 | space-separated recipe-specific directories to always save in a tarball | ||
7143 | whether the recipe build has failed or not. | ||
7144 | |||
7145 | :term:`RETAIN_DIRS_FAILURE` | ||
7146 | When inheriting the :ref:`ref-classes-retain` class, this variable holds | ||
7147 | space-separated recipe-specific directories to save in a tarball on | ||
7148 | failure of the recipe's build. | ||
7149 | |||
7150 | :term:`RETAIN_DIRS_GLOBAL_ALWAYS` | ||
7151 | When inheriting the :ref:`ref-classes-retain` class, this variable holds | ||
7152 | space-separated directories that are not specific to a recipe to save in a | ||
7153 | tarball whether the build has failed or not. | ||
7154 | |||
7155 | :term:`RETAIN_DIRS_GLOBAL_FAILURE` | ||
7156 | When inheriting the :ref:`ref-classes-retain` class, this variable holds | ||
7157 | space-separated directories that are not specific to a recipe to save in a | ||
7158 | tarball on build failure. | ||
7159 | |||
7160 | :term:`RETAIN_ENABLED` | ||
7161 | Disables the creation of a tarball of the work directory done by the | ||
7162 | :ref:`ref-classes-retain` class. Can be set to specific recipes to disable | ||
7163 | the class when the class was inherited globally with :term:`INHERIT`. | ||
7164 | |||
7165 | :term:`RETAIN_OUTDIR` | ||
7166 | When inheriting the :ref:`ref-classes-retain` class, this variable | ||
7167 | specifies the directory where to save the tarball of the work directory. | ||
7168 | The default directory is ``${TMPDIR}/retain``. | ||
7169 | |||
7170 | :term:`RETAIN_TARBALL_SUFFIX` | ||
7171 | When inheriting the :ref:`ref-classes-retain` class, this variable | ||
7172 | specifies the suffix of the tarball of the work directory. The default | ||
7173 | suffix is ``${DATETIME}.tar.gz``. | ||
7174 | |||
7140 | :term:`RM_WORK_EXCLUDE` | 7175 | :term:`RM_WORK_EXCLUDE` |
7141 | With :ref:`ref-classes-rm-work` enabled, this variable | 7176 | With :ref:`ref-classes-rm-work` enabled, this variable |
7142 | specifies a list of recipes whose work directories should not be removed. | 7177 | specifies a list of recipes whose work directories should not be removed. |