summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2020-11-13 00:32:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-04 10:55:00 +0000
commit49f6f45ad6b1babbece0c82312cd81148906ef3a (patch)
tree2c562bfebd52900cb85b884dd0a1e4d18a154212 /bitbake
parentf3f563937985fff227e4b9ca3efb54b633a9a326 (diff)
downloadpoky-49f6f45ad6b1babbece0c82312cd81148906ef3a.tar.gz
bitbake: sphinx: partial undo (bitbake-user-manual: update perforce fetcher docs)
This change is not applicable to 1.46/dunfell branch, and was brought by the automatic backport of Sphinx docs, so let's undo it. Note that this patch also included a general statement which applies to 1.46, so this snippet was not removed. (Bitbake rev: b164cf6790e47271a0848104a6c9507dd35c7f8f) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst31
1 files changed, 0 insertions, 31 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
index 6760b10828..93ac18b78a 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
@@ -569,37 +569,6 @@ password, and fetches a Revision based on a Label: ::
569 569
570 You should always set S to "${WORKDIR}/p4" in your recipe. 570 You should always set S to "${WORKDIR}/p4" in your recipe.
571 571
572By default, the fetcher strips the depot location from the local file paths. In
573the above example, the content of ``example-depot/main/source/`` will be placed
574in ``${WORKDIR}/p4``. For situations where preserving parts of the remote depot
575paths locally is desirable, the fetcher supports two parameters:
576
577- *"module":*
578 The top-level depot location or directory to fetch. The value of this
579 parameter can also point to a single file within the depot, in which case
580 the local file path will include the module path.
581- *"remotepath":*
582 When used with the value "``keep``", the fetcher will mirror the full depot
583 paths locally for the specified location, even in combination with the
584 ``module`` parameter.
585
586Here is an example use of the the ``module`` parameter: ::
587
588 SRC_URI = "p4://user:passwd@example-depot/main;module=source/..."
589
590In this case, the content of the top-level directory ``source/`` will be fetched
591to ``${P4DIR}``, including the directory itself. The top-level directory will
592be accesible at ``${P4DIR}/source/``.
593
594Here is an example use of the the ``remotepath`` parameter: ::
595
596 SRC_URI = "p4://user:passwd@example-depot/main;module=source/...;remotepath=keep"
597
598In this case, the content of the top-level directory ``source/`` will be fetched
599to ``${P4DIR}``, but the complete depot paths will be mirrored locally. The
600top-level directory will be accessible at
601``${P4DIR}/example-depot/main/source/``.
602
603.. _repo-fetcher: 572.. _repo-fetcher:
604 573
605Repo Fetcher (``repo://``) 574Repo Fetcher (``repo://``)