diff options
| author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2021-09-08 10:50:03 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-10 09:26:04 +0100 |
| commit | 855334b0f7e2d0a79eb4b9fbbaa1dcaad5a8d5ee (patch) | |
| tree | a82df0517e4857da18a137eb79a207dd082c9043 | |
| parent | b0634997633d90cc256518f545e69b342866caba (diff) | |
| download | poky-855334b0f7e2d0a79eb4b9fbbaa1dcaad5a8d5ee.tar.gz | |
bitbake: doc: bitbake-user-manual-fetching: S should be set to WORKDIR/git for git fetcher
Document that S has to be set to "${WORKDIR}/git" in order for the
recipe to work if the git fetcher is fetching the main source of code
for the recipe.
(Bitbake rev: c394f34437686c2f57a27f0c06d7aeb3268bfd41)
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | 7 |
1 files changed, 7 insertions, 0 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 40b245b6d3..a944d0f78e 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | |||
| @@ -441,6 +441,13 @@ Here are some example URLs:: | |||
| 441 | 441 | ||
| 442 | .. note:: | 442 | .. note:: |
| 443 | 443 | ||
| 444 | When using ``git`` as the fetcher of the main source code of your software, | ||
| 445 | ``S`` should be set accordingly:: | ||
| 446 | |||
| 447 | S = "${WORKDIR}/git" | ||
| 448 | |||
| 449 | .. note:: | ||
| 450 | |||
| 444 | Specifying passwords directly in ``git://`` urls is not supported. | 451 | Specifying passwords directly in ``git://`` urls is not supported. |
| 445 | There are several reasons: :term:`SRC_URI` is often written out to logs and | 452 | There are several reasons: :term:`SRC_URI` is often written out to logs and |
| 446 | other places, and that could easily leak passwords; it is also all too | 453 | other places, and that could easily leak passwords; it is also all too |
