diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-06-27 15:59:43 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-28 23:58:30 +0100 |
commit | 02867c90395db2ebfbcaed3d0d813b889978888c (patch) | |
tree | e6ac2ba3725af6dffab33475110d1ae2eef87d4e /documentation | |
parent | 33a08f7b8f05235c3771c4bbd1ebd1e947bb6b4f (diff) | |
download | poky-02867c90395db2ebfbcaed3d0d813b889978888c.tar.gz |
manuals: switch to the sstate mirror shared between all versions
Following https://git.yoctoproject.org/poky/commit/?id=cf7d8894545b83f55420fa33f7848e1bfc6754ff
(From yocto-docs rev: 5a5499609bc1f6ac99ad909dc1aeb91505f5bd48)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.rst | 15 | ||||
-rw-r--r-- | documentation/overview-manual/overview-manual-concepts.rst | 4 |
2 files changed, 4 insertions, 15 deletions
diff --git a/documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.rst b/documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.rst index c9622d3647..6a44511af2 100644 --- a/documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.rst +++ b/documentation/brief-yoctoprojectqs/brief-yoctoprojectqs.rst | |||
@@ -222,19 +222,10 @@ an entire Linux distribution, including the toolchain, from source. | |||
222 | .. tip:: | 222 | .. tip:: |
223 | 223 | ||
224 | You can significantly speed up your build and guard against fetcher | 224 | You can significantly speed up your build and guard against fetcher |
225 | failures by using mirrors. To use mirrors, add these lines to your | 225 | failures by using mirrors. To use mirrors, add this line to your |
226 | local.conf file in the Build directory: :: | 226 | ``local.conf`` file in the :term:`Build Directory`: :: |
227 | 227 | ||
228 | SSTATE_MIRRORS = "\ | 228 | SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH" |
229 | file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH \n \ | ||
230 | file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION_MINUS_ONE;/PATH;downloadfilename=PATH \n \ | ||
231 | file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH \n \ | ||
232 | " | ||
233 | |||
234 | |||
235 | The previous examples showed how to add sstate paths for Yocto Project | ||
236 | &YOCTO_DOC_VERSION_MINUS_ONE;, &YOCTO_DOC_VERSION;, and a development | ||
237 | area. For a complete index of sstate locations, see http://sstate.yoctoproject.org/. | ||
238 | 229 | ||
239 | #. **Start the Build:** Continue with the following command to build an OS | 230 | #. **Start the Build:** Continue with the following command to build an OS |
240 | image for the target, which is ``core-image-sato`` in this example: | 231 | image for the target, which is ``core-image-sato`` in this example: |
diff --git a/documentation/overview-manual/overview-manual-concepts.rst b/documentation/overview-manual/overview-manual-concepts.rst index d9f50e5194..3401f534b1 100644 --- a/documentation/overview-manual/overview-manual-concepts.rst +++ b/documentation/overview-manual/overview-manual-concepts.rst | |||
@@ -1986,9 +1986,7 @@ Behind the scenes, the shared state code works by looking in | |||
1986 | shared state files. Here is an example: | 1986 | shared state files. Here is an example: |
1987 | :: | 1987 | :: |
1988 | 1988 | ||
1989 | SSTATE_MIRRORS ?= "\ | 1989 | SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH" |
1990 | file://.\* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ | ||
1991 | file://.\* file:///some/local/dir/sstate/PATH" | ||
1992 | 1990 | ||
1993 | .. note:: | 1991 | .. note:: |
1994 | 1992 | ||