@@ -118,13 +118,11 @@ an entire Linux distribution, including the toolchain, from source.
This is relevant only when your network and the server that you use
can download these artifacts faster than you would be able to build them.
- To use such mirrors, uncomment the below lines in your ``conf/local.conf``
- file in the :term:`Build Directory`::
+ To use such mirrors, run the following command:
- BB_HASHSERVE_UPSTREAM = "wss://hashserv.yoctoproject.org/ws"
- SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH"
- BB_HASHSERVE = "auto"
- BB_SIGNATURE_HANDLER = "OEEquivHash"
+ .. code-block:: console
+
+ $ bitbake-config-build enable-fragment core/yocto/sstate-mirror-cdn
The hash equivalence server needs the websockets python module version 9.1
or later. Debian GNU/Linux 12 (Bookworm) and later, Fedora, CentOS Stream
The poky-manual-setup document was ported from the previous Quick start guide we used to maintain. While this document is oriented towards setting variables from configuration files rather than using fragments and bitbake-setup, we can still suggest to enable hash equivalence through our sstate-mirror-cdn fragment. This way, changes to this fragment don't have to be maintained here explicitly. Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- documentation/dev-manual/poky-manual-setup.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)