summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/structure.rst
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-07-09 09:57:28 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-11 13:30:44 +0100
commite790ad0f3ec6bbe078fe864851d3760aae064316 (patch)
treec57b2717411a2dd2ed113ceddeffc06d82f54161 /documentation/ref-manual/structure.rst
parentcbbac30edbae1f896593b90745217c4d7848066e (diff)
downloadpoky-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.rst14
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
248This directory contains several internal files used by the OpenEmbedded 248This directory contains several internal files used by the OpenEmbedded
249build system. 249build system. The path to this directory is defined by the
250:term:`PERSISTENT_DIR` variable.
250 251
251It also contains ``sanity_info``, a text file keeping track of important 252It also contains ``sanity_info``, a text file keeping track of important
252build information such as the values of :term:`TMPDIR`, :term:`SSTATE_DIR`, 253build 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.
364You can control the location of this directory through the 365You 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
403changes to the file are detected, then the parsed result stored in the 411changes to the file are detected, then the parsed result stored in the
404cache is reused. If the file has changed, it is reparsed. 412cache is reused. If the file has changed, it is reparsed.
405 413
414This directory and the :term:`SSTATE_DIR` directory can be shared for multiple
415builds when using a :ref:`overview-manual/concepts:Hash Equivalence` server
416with :term:`BB_HASHSERVE`.
417
406.. _structure-build-tmp-deploy: 418.. _structure-build-tmp-deploy:
407 419
408``build/tmp/deploy/`` 420``build/tmp/deploy/``