diff mbox series

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

Message ID 20240502160646.3474131-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series brief-yoctoprojectqs: Update to the correct hash equivalence server address | expand

Commit Message

Richard Purdie May 2, 2024, 4:06 p.m. UTC
Also add a note about needing python websockets installed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 documentation/brief-yoctoprojectqs/index.rst | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Richard Purdie May 2, 2024, 8:58 p.m. UTC | #1
On Thu, 2024-05-02 at 18:48 +0200, Quentin Schulz wrote:
> Hi Richard,
> 
> On 5/2/24 6:06 PM, Richard Purdie via lists.yoctoproject.org wrote:
> > Also add a note about needing python websockets installed.
> > 
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> >   documentation/brief-yoctoprojectqs/index.rst | 5 ++++-
> >   1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
> > index 61c5cbec3..4301bfd97 100644
> > --- a/documentation/brief-yoctoprojectqs/index.rst
> > +++ b/documentation/brief-yoctoprojectqs/index.rst
> > @@ -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.
> > +
> 
> 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.

> 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
diff mbox series

Patch

diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
index 61c5cbec3..4301bfd97 100644
--- a/documentation/brief-yoctoprojectqs/index.rst
+++ b/documentation/brief-yoctoprojectqs/index.rst
@@ -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: