diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-07-09 09:57:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-11 13:30:44 +0100 |
commit | e790ad0f3ec6bbe078fe864851d3760aae064316 (patch) | |
tree | c57b2717411a2dd2ed113ceddeffc06d82f54161 /documentation/ref-manual/structure.rst | |
parent | cbbac30edbae1f896593b90745217c4d7848066e (diff) | |
download | poky-e790ad0f3ec6bbe078fe864851d3760aae064316.tar.gz |
ref-manual/structure.rst: update with info on PERSISTENT_DIR
Since we mention that SSTATE_DIR can be shared for multiple builds, also
mention that PERSISTENT_DIR should be shared alongside SSTATE_DIR.
[YOCTO #15921]
(From yocto-docs rev: 741aa29898dc7f34ebd423ff7565334b2c89e18c)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/structure.rst')
-rw-r--r-- | documentation/ref-manual/structure.rst | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/documentation/ref-manual/structure.rst b/documentation/ref-manual/structure.rst index d6dbb29401..bf23e2cfe3 100644 --- a/documentation/ref-manual/structure.rst +++ b/documentation/ref-manual/structure.rst | |||
@@ -246,7 +246,8 @@ section in the Yocto Project Development Tasks Manual. | |||
246 | ---------------- | 246 | ---------------- |
247 | 247 | ||
248 | This directory contains several internal files used by the OpenEmbedded | 248 | This directory contains several internal files used by the OpenEmbedded |
249 | build system. | 249 | build system. The path to this directory is defined by the |
250 | :term:`PERSISTENT_DIR` variable. | ||
250 | 251 | ||
251 | It also contains ``sanity_info``, a text file keeping track of important | 252 | It also contains ``sanity_info``, a text file keeping track of important |
252 | build information such as the values of :term:`TMPDIR`, :term:`SSTATE_DIR`, | 253 | build information such as the values of :term:`TMPDIR`, :term:`SSTATE_DIR`, |
@@ -364,6 +365,13 @@ directory for multiple builds or move the directory to another location. | |||
364 | You can control the location of this directory through the | 365 | You can control the location of this directory through the |
365 | :term:`SSTATE_DIR` variable. | 366 | :term:`SSTATE_DIR` variable. |
366 | 367 | ||
368 | .. note:: | ||
369 | |||
370 | If you are sharing the :term:`SSTATE_DIR` directory for multiple builds and | ||
371 | you are using a :ref:`overview-manual/concepts:Hash Equivalence` server with | ||
372 | :term:`BB_HASHSERVE` you should also share the :term:`PERSISTENT_DIR` | ||
373 | directory. See :ref:`structure-build-cache` below. | ||
374 | |||
367 | .. _structure-build-tmp: | 375 | .. _structure-build-tmp: |
368 | 376 | ||
369 | ``build/tmp/`` | 377 | ``build/tmp/`` |
@@ -403,6 +411,10 @@ modification time (mtime) changes and hashing of file contents. If no | |||
403 | changes to the file are detected, then the parsed result stored in the | 411 | changes to the file are detected, then the parsed result stored in the |
404 | cache is reused. If the file has changed, it is reparsed. | 412 | cache is reused. If the file has changed, it is reparsed. |
405 | 413 | ||
414 | This directory and the :term:`SSTATE_DIR` directory can be shared for multiple | ||
415 | builds when using a :ref:`overview-manual/concepts:Hash Equivalence` server | ||
416 | with :term:`BB_HASHSERVE`. | ||
417 | |||
406 | .. _structure-build-tmp-deploy: | 418 | .. _structure-build-tmp-deploy: |
407 | 419 | ||
408 | ``build/tmp/deploy/`` | 420 | ``build/tmp/deploy/`` |