diff mbox series

[08/10] dev-manual/poky-manual-setup.rst: suggest use of fragment instead of assignments

Message ID 20260911-assorted-fixes-v1-8-0d92a8112918@bootlin.com
State New
Headers show
Series Assorted fixes and additions | expand

Commit Message

Antonin Godard Sept. 11, 2026, 2:56 p.m. UTC
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(-)
diff mbox series

Patch

diff --git a/documentation/dev-manual/poky-manual-setup.rst b/documentation/dev-manual/poky-manual-setup.rst
index 833e1631e..5e65763d5 100644
--- a/documentation/dev-manual/poky-manual-setup.rst
+++ b/documentation/dev-manual/poky-manual-setup.rst
@@ -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