* [PATCH] dev-manual/start.rst: remove basic setup for hash equivalence
@ 2025-07-16 9:10 Antonin Godard
2025-07-16 9:13 ` Alexander Kanavin
0 siblings, 1 reply; 2+ messages in thread
From: Antonin Godard @ 2025-07-16 9:10 UTC (permalink / raw)
To: docs; +Cc: Thomas Petazzoni, Alexander Kanavin, Antonin Godard
Quoting Alexander Kanavin [1]:
> 1. BB_HASHSERVE and BB_SIGNATURE_HANDLER do not set up or start a
> server, they set up the hash equivalence client built into bitbake.
>
> 2. The above client configuration (used by poky) also starts a private
> server that is specific to a particular build directory. So hash equiv
> information would not be shared between multiple build directories,
> and this will cause sstate mismatches (as reported in the bug), if
> sstate is shared.
This setup does not shed light on the potential of the hash equivalence
feature. So for now, remove this basic setup, and later rework the
concepts (or create a new) document that explains how to set up a hash
equivalence server shared between builds.
[1]: https://lore.kernel.org/r/CANNYZj_kvLsZG3sgH+nPu9B=pqWBU785w0SGHGdQqB4UW-DtmA@mail.gmail.com
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
documentation/dev-manual/start.rst | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/documentation/dev-manual/start.rst b/documentation/dev-manual/start.rst
index e10367752..f34f0a9a9 100644
--- a/documentation/dev-manual/start.rst
+++ b/documentation/dev-manual/start.rst
@@ -228,12 +228,7 @@ particular working environment and set of practices.
used by developers in the same organization and share the same
source directories on their machines.
- - Set up a local :ref:`overview-manual/concepts:Hash Equivalence` server
- with :term:`BB_HASHSERVE` and :term:`BB_SIGNATURE_HANDLER`. A basic setup
- would be::
-
- BB_HASHSERVE = "auto"
- BB_SIGNATURE_HANDLER = "OEEquivHash"
+ - Set up a local :ref:`overview-manual/concepts :Hash Equivalence` server.
See the :ref:`overview-manual/concepts:Hash Equivalence` section of the
Yocto Project Overview and Concepts Manual for more details on the hash
---
base-commit: f9f1c87424d307d2df60024bc448bd6778605cf8
change-id: 20250716-remove-local-hashequiv-setup-6c2880dc23fa
Best regards,
--
Antonin Godard <antonin.godard@bootlin.com>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dev-manual/start.rst: remove basic setup for hash equivalence
2025-07-16 9:10 [PATCH] dev-manual/start.rst: remove basic setup for hash equivalence Antonin Godard
@ 2025-07-16 9:13 ` Alexander Kanavin
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2025-07-16 9:13 UTC (permalink / raw)
To: Antonin Godard; +Cc: docs, Thomas Petazzoni
Thanks, I think we're good now :)
Alex
On Wed, 16 Jul 2025 at 11:10, Antonin Godard <antonin.godard@bootlin.com> wrote:
>
> Quoting Alexander Kanavin [1]:
>
> > 1. BB_HASHSERVE and BB_SIGNATURE_HANDLER do not set up or start a
> > server, they set up the hash equivalence client built into bitbake.
> >
> > 2. The above client configuration (used by poky) also starts a private
> > server that is specific to a particular build directory. So hash equiv
> > information would not be shared between multiple build directories,
> > and this will cause sstate mismatches (as reported in the bug), if
> > sstate is shared.
>
> This setup does not shed light on the potential of the hash equivalence
> feature. So for now, remove this basic setup, and later rework the
> concepts (or create a new) document that explains how to set up a hash
> equivalence server shared between builds.
>
> [1]: https://lore.kernel.org/r/CANNYZj_kvLsZG3sgH+nPu9B=pqWBU785w0SGHGdQqB4UW-DtmA@mail.gmail.com
>
> Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
> documentation/dev-manual/start.rst | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/documentation/dev-manual/start.rst b/documentation/dev-manual/start.rst
> index e10367752..f34f0a9a9 100644
> --- a/documentation/dev-manual/start.rst
> +++ b/documentation/dev-manual/start.rst
> @@ -228,12 +228,7 @@ particular working environment and set of practices.
> used by developers in the same organization and share the same
> source directories on their machines.
>
> - - Set up a local :ref:`overview-manual/concepts:Hash Equivalence` server
> - with :term:`BB_HASHSERVE` and :term:`BB_SIGNATURE_HANDLER`. A basic setup
> - would be::
> -
> - BB_HASHSERVE = "auto"
> - BB_SIGNATURE_HANDLER = "OEEquivHash"
> + - Set up a local :ref:`overview-manual/concepts :Hash Equivalence` server.
>
> See the :ref:`overview-manual/concepts:Hash Equivalence` section of the
> Yocto Project Overview and Concepts Manual for more details on the hash
>
> ---
> base-commit: f9f1c87424d307d2df60024bc448bd6778605cf8
> change-id: 20250716-remove-local-hashequiv-setup-6c2880dc23fa
>
> Best regards,
> --
> Antonin Godard <antonin.godard@bootlin.com>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-16 9:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16 9:10 [PATCH] dev-manual/start.rst: remove basic setup for hash equivalence Antonin Godard
2025-07-16 9:13 ` Alexander Kanavin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).