summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2022-01-29 03:26:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-20 15:36:13 +0000
commitcd823f21f8f94463baac9f914c6edc7e245e7a30 (patch)
tree4ed6005a39065412e8c45376cda51cca3619f780 /documentation
parent4760c3e264c10c019635338d47221cce9ccd4bf2 (diff)
downloadpoky-cd823f21f8f94463baac9f914c6edc7e245e7a30.tar.gz
manuals: Remove unnecessary \n from SSTATE_MIRRORS examples
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror entries) there is no need to separate the entries in SSTATE_MIRRORS with "\n". (From yocto-docs rev: 87b34b69b2df72d4e6edbd81839622fffd560331) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/overview-manual/concepts.rst2
-rw-r--r--documentation/ref-manual/variables.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst
index 5cb5cb7127..5c6364129d 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://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ 1907 file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \
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 34d2ba6b4d..25a874f83e 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -7213,7 +7213,7 @@ system and gives an overview of their function and contents.
7213 following maps the local search path ``universal-4.9`` to the 7213 following maps the local search path ``universal-4.9`` to the
7214 server-provided path server_url_sstate_path:: 7214 server-provided path server_url_sstate_path::
7215 7215
7216 SSTATE_MIRRORS ?= "file://universal-4.9/(.*) https://server_url_sstate_path/universal-4.8/\1 \n" 7216 SSTATE_MIRRORS ?= "file://universal-4.9/(.*) https://server_url_sstate_path/universal-4.8/\1"
7217 7217
7218 If a mirror uses the same structure as 7218 If a mirror uses the same structure as
7219 :term:`SSTATE_DIR`, you need to add "PATH" at the 7219 :term:`SSTATE_DIR`, you need to add "PATH" at the
@@ -7222,7 +7222,7 @@ system and gives an overview of their function and contents.
7222 :: 7222 ::
7223 7223
7224 SSTATE_MIRRORS ?= "\ 7224 SSTATE_MIRRORS ?= "\
7225 file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ 7225 file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \
7226 file://.* file:///some-local-dir/sstate/PATH" 7226 file://.* file:///some-local-dir/sstate/PATH"
7227 7227
7228 :term:`SSTATE_SCAN_FILES` 7228 :term:`SSTATE_SCAN_FILES`