[PATCH 3/5] ref-manual/variables.rst: SSTATE_MIRRORS: remove directory structure note

Antonin Godard <[email protected]> Wed, 22 Jul 2026 14:58:12 +0200
Newsgroups org.yoctoproject.lists.docs
Message-ID <[email protected]>
Setting up a shared state mirror would most likely always happen by
sharing a shared state directory constructed by BitBake, which has a
specific layout. Otherwise, the following definition:

  SSTATE_MIRRORS = "file://.* https://someserver.tld"

would require the server to have all the sstate artifacts at the root of
the server, in a flat layout, which is probably never the case.

Signed-off-by: Antonin Godard <[email protected]>
---
 documentation/ref-manual/variables.rst | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index 4344b6143..e650fecda 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -10100,15 +10100,6 @@ system and gives an overview of their function and contents.
       cache (sstate-cache) results from previous builds. The sstate-cache
       you point to can also be from builds on other machines.
 
-      If a mirror uses the same structure as
-      :term:`SSTATE_DIR`, you need to add "PATH" at the
-      end as shown in the examples below. The build system substitutes the
-      correct path within the directory structure::
-
-         SSTATE_MIRRORS ?= "\
-             file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \
-             file://.* file:///some-local-dir/sstate/PATH"
-
       .. note::
 
          If the mirror is protected behind a username and password, the

-- 
2.55.0