Skip to contentSkip to conversation

brief-yoctoprojectqs: Update to the correct hash equivalence server address

PATCH In review Richard Purdie 1 participant 2 messages May 2, 2024 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 brief-yoctoprojectqs: Update to the correct hash equivalence server address

Also add a note about needing python websockets installed.

---
 documentation/brief-yoctoprojectqs/index.rst | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
documentation/brief-yoctoprojectqs/index.rst +4 -1
index 61c5cbec3..4301bfd97 100644
@@ -251,11 +251,14 @@ an entire Linux distribution, including the toolchain, from source.
       To use such mirrors, uncomment the below lines in your ``conf/local.conf``
       file in the :term:`Build Directory`::
 
-         BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
+         BB_HASHSERVE_UPSTREAM = "wss://hashserv.yoctoproject.org/ws"
          SSTATE_MIRRORS ?= "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"
          BB_HASHSERVE = "auto"
          BB_SIGNATURE_HANDLER = "OEEquivHash"
 
+      The hash equivalence server needs a recent version of python
+      websockets installed to work correctly.
+
 #. **Start the Build:** Continue with the following command to build an OS
    image for the target, which is ``core-image-sato`` in this example:
 
Signature · 1 line
2.40.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 23 lines · Quentin Schulz

Hi Richard,

Quoted 20 lines · Richard Purdie via lists.yoctoproject.org

Also add a note about needing python websockets installed.

---
  documentation/brief-yoctoprojectqs/index.rst | 5 ++++-

  1 file changed, 4 insertions(+), 1 deletion(-)
documentation/brief-yoctoprojectqs/index.rst +0 -0
index 61c5cbec3..4301bfd97 100644
@@ -251,11 +251,14 @@ an entire Linux distribution, including the toolchain, from source.

        To use such mirrors, uncomment the below lines in your ``conf/local.conf``
        file in the :term:Build Directory::

-         BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
+         BB_HASHSERVE_UPSTREAM = "wss://hashserv.yoctoproject.org/ws"
           SSTATE_MIRRORS ?= "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"
           BB_HASHSERVE = "auto"
           BB_SIGNATURE_HANDLER = "OEEquivHash"

Quoted 8 lines
Quoted 4 lines


+      The hash equivalence server needs a recent version of python +      websockets installed to work correctly.
+

What's "recent" here? This section may very well exist forever since we don't remove EoL-release documentation, so "recent" in 10 years may not mean the same thing as today.

At this point I don't know. I wanted to leave some hint so that if it breaks, people have an idea of what to do. Hopefully we can work this out and clarify when we know.

Quoted 3 lines

Additional question... Can we add this to the host dependencies directly (in the docs I mean) so we don't have to mention it here at all? Installing the package through pip/PipEnv/distro pkg feed?

Yes, we can. Again, I thought it was more important to fix the other issues and then we can incrementally improve this.

So yes, improvements very much welcome, this was a bandaid.

Cheers,

Richard