summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-01-26 14:16:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-03 13:47:50 +0000
commitde069431bfa1afe5fa8706e8706365b7a36f8ee4 (patch)
treec3cf9b9918b8fb4782451293ba4d925b3f6005d5
parent3a6185404e241790bd17cb563e33eec4a0a9296a (diff)
downloadpoky-de069431bfa1afe5fa8706e8706365b7a36f8ee4.tar.gz
manuals: propose https for SSTATE_MIRRORS
Both http and https work, but https should raise fewer questions from users. (From yocto-docs rev: e3bf892b1328b5c43ab041ba6c850e2782f54bdf) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/brief-yoctoprojectqs/index.rst4
-rw-r--r--documentation/overview-manual/concepts.rst2
-rw-r--r--documentation/ref-manual/variables.rst4
-rw-r--r--documentation/sdk-manual/appendix-customizing.rst2
4 files changed, 6 insertions, 6 deletions
diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
index eaacde2d9a..b01fb4d40b 100644
--- a/documentation/brief-yoctoprojectqs/index.rst
+++ b/documentation/brief-yoctoprojectqs/index.rst
@@ -256,12 +256,12 @@ an entire Linux distribution, including the toolchain, from source.
256 BB_SIGNATURE_HANDLER = "OEEquivHash" 256 BB_SIGNATURE_HANDLER = "OEEquivHash"
257 BB_HASHSERVE = "auto" 257 BB_HASHSERVE = "auto"
258 BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687" 258 BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
259 SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH" 259 SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
260 260
261 The above settings assumed the use of Yocto Project &YOCTO_DOC_VERSION;. 261 The above settings assumed the use of Yocto Project &YOCTO_DOC_VERSION;.
262 If you are using the development version instead, set :term:`SSTATE_MIRRORS` as follows:: 262 If you are using the development version instead, set :term:`SSTATE_MIRRORS` as follows::
263 263
264 SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH" 264 SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
265 265
266#. **Start the Build:** Continue with the following command to build an OS 266#. **Start the Build:** Continue with the following command to build an OS
267 image for the target, which is ``core-image-sato`` in this example: 267 image for the target, which is ``core-image-sato`` in this example:
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst
index 5698d93759..5cb5cb7127 100644
--- a/documentation/overview-manual/concepts.rst
+++ b/documentation/overview-manual/concepts.rst
@@ -1904,7 +1904,7 @@ Behind the scenes, the shared state code works by looking in
1904shared state files. Here is an example:: 1904shared state files. Here is an example::
1905 1905
1906 SSTATE_MIRRORS ?= "\ 1906 SSTATE_MIRRORS ?= "\
1907 file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ 1907 file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
1908 file://.* file:///some/local/dir/sstate/PATH" 1908 file://.* file:///some/local/dir/sstate/PATH"
1909 1909
1910.. note:: 1910.. note::
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index adb104e202..d4f40b6929 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -7196,7 +7196,7 @@ system and gives an overview of their function and contents.
7196 following maps the local search path ``universal-4.9`` to the 7196 following maps the local search path ``universal-4.9`` to the
7197 server-provided path server_url_sstate_path:: 7197 server-provided path server_url_sstate_path::
7198 7198
7199 SSTATE_MIRRORS ?= "file://universal-4.9/(.*) http://server_url_sstate_path/universal-4.8/\1 \n" 7199 SSTATE_MIRRORS ?= "file://universal-4.9/(.*) https://server_url_sstate_path/universal-4.8/\1 \n"
7200 7200
7201 If a mirror uses the same structure as 7201 If a mirror uses the same structure as
7202 :term:`SSTATE_DIR`, you need to add "PATH" at the 7202 :term:`SSTATE_DIR`, you need to add "PATH" at the
@@ -7205,7 +7205,7 @@ system and gives an overview of their function and contents.
7205 :: 7205 ::
7206 7206
7207 SSTATE_MIRRORS ?= "\ 7207 SSTATE_MIRRORS ?= "\
7208 file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ 7208 file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
7209 file://.* file:///some-local-dir/sstate/PATH" 7209 file://.* file:///some-local-dir/sstate/PATH"
7210 7210
7211 :term:`SSTATE_SCAN_FILES` 7211 :term:`SSTATE_SCAN_FILES`
diff --git a/documentation/sdk-manual/appendix-customizing.rst b/documentation/sdk-manual/appendix-customizing.rst
index cac199bf7a..f8e56477f3 100644
--- a/documentation/sdk-manual/appendix-customizing.rst
+++ b/documentation/sdk-manual/appendix-customizing.rst
@@ -264,7 +264,7 @@ source, you need to do a number of things:
264 to find the configuration. The variable you need to set is 264 to find the configuration. The variable you need to set is
265 :term:`SSTATE_MIRRORS`:: 265 :term:`SSTATE_MIRRORS`::
266 266
267 SSTATE_MIRRORS = "file://.* http://example.com/some_path/sstate-cache/PATH" 267 SSTATE_MIRRORS = "file://.* https://example.com/some_path/sstate-cache/PATH"
268 268
269 You can set the :term:`SSTATE_MIRRORS` variable in two different places: 269 You can set the :term:`SSTATE_MIRRORS` variable in two different places:
270 270