From 49f6f45ad6b1babbece0c82312cd81148906ef3a Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Fri, 13 Nov 2020 00:32:55 +0100 Subject: 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 Signed-off-by: Richard Purdie --- .../bitbake-user-manual-fetching.rst | 31 ---------------------- 1 file changed, 31 deletions(-) (limited to 'bitbake/doc') 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: :: 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://``) -- cgit v1.2.3-54-g00ecf