Skip to contentSkip to conversation

ref-manual/structure.rst: extend PERSISTENT_DIR description

PATCH Applied Antonin Godard 1 participant 2 messages Sep 15, 2025 – Sep 29, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual/structure.rst: extend PERSISTENT_DIR description

Extend the description of PERSISTENT_DIR to mention that it should not be shared between builds. Add a note on sharing the hash equivalence database by setting up a server and not sharing the file in this directory.

[YOCTO #15727]

---
 documentation/ref-manual/structure.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)
documentation/ref-manual/structure.rst +11 -0
index c9c44bc63..660cc9be1 100644
@@ -253,6 +253,17 @@ It also contains ``sanity_info``, a text file keeping track of important
 build information such as the values of :term:`TMPDIR`, :term:`SSTATE_DIR`,
 as well as the name and version of the host distribution.
 
+This directory should not be shared between builds.
+
+.. note::
+
+   The default location of the :ref:`overview-manual/concepts:Hash Equivalence`
+   database is this directory (when :term:`BB_HASHSERVE` is set to ``auto``). If
+   you need to share the :ref:`overview-manual/concepts:Hash Equivalence`
+   database, don't share this file and instead refer to the
+   :doc:`/dev-manual/hashequivserver` document of the Yocto Project Development
+   Tasks Manual to setup Hash Equivalence server.
+
 .. _structure-build-conf-local.conf:
 
 ``build/conf/local.conf``

---
base-commit: dbc6137cd13f982a7fd4d1b2df79dccb177db0fc
change-id: 20250914-improve-persistent-dir-e8eac0abe0b0

Best regards,

Signature · 1 line
Antonin Godard <[email protected]>
author Applied
#1 lore raw
Quoted 8 lines · Antonin Godard

Extend the description of PERSISTENT_DIR to mention that it should not be shared between builds. Add a note on sharing the hash equivalence database by setting up a server and not sharing the file in this directory.

[YOCTO #15727]

[...]

Applied, thanks!

[1/1] ref-manual/structure.rst: extend PERSISTENT_DIR description

      commit: 0ff0233770b77f9e74f4241dfb555dac2741d8b9

Best regards,

Signature · 1 line
Antonin Godard <[email protected]>