diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2020-11-13 00:32:55 +0100 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2020-11-13 00:32:55 +0100 |
commit | f3c27f463844fa7065837bb18bdc3734096a7b5a (patch) | |
tree | b47f92fe3d7f00de937977a9f2a4ee399763f4b6 | |
parent | 540d1f8026b3c94f2be458de2f4d331c14ec3cfa (diff) | |
download | bitbake-f3c27f463844fa7065837bb18bdc3734096a7b5a.tar.gz |
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.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r-- | doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst index 6760b1082..93ac18b78 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst @@ -569,37 +569,6 @@ password, and fetches a Revision based on a Label: :: You should always set S to "${WORKDIR}/p4" in your recipe. -By default, the fetcher strips the depot location from the local file paths. In -the above example, the content of ``example-depot/main/source/`` will be placed -in ``${WORKDIR}/p4``. For situations where preserving parts of the remote depot -paths locally is desirable, the fetcher supports two parameters: - -- *"module":* - The top-level depot location or directory to fetch. The value of this - parameter can also point to a single file within the depot, in which case - the local file path will include the module path. -- *"remotepath":* - When used with the value "``keep``", the fetcher will mirror the full depot - paths locally for the specified location, even in combination with the - ``module`` parameter. - -Here is an example use of the the ``module`` parameter: :: - - SRC_URI = "p4://user:passwd@example-depot/main;module=source/..." - -In this case, the content of the top-level directory ``source/`` will be fetched -to ``${P4DIR}``, including the directory itself. The top-level directory will -be accesible at ``${P4DIR}/source/``. - -Here is an example use of the the ``remotepath`` parameter: :: - - SRC_URI = "p4://user:passwd@example-depot/main;module=source/...;remotepath=keep" - -In this case, the content of the top-level directory ``source/`` will be fetched -to ``${P4DIR}``, but the complete depot paths will be mirrored locally. The -top-level directory will be accessible at -``${P4DIR}/example-depot/main/source/``. - .. _repo-fetcher: Repo Fetcher (``repo://``) |