docs.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: bitbake-user-manual-fetching: S should be set to WORKDIR/git for git fetcher
@ 2021-09-08  8:50 Quentin Schulz
  0 siblings, 0 replies; only message in thread
From: Quentin Schulz @ 2021-09-08  8:50 UTC (permalink / raw)
  Cc: docs, bitbake-devel, Quentin Schulz

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.

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
 doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
index 40b245b6d3..aad0700180 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst
@@ -439,6 +439,13 @@ Here are some example URLs::
    SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1"
    SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http"
 
+.. note::
+
+   When using ``git`` as the fetcher of the main source code of your software,
+   ``S`` should be set accordingly::
+
+       S = "${WORKDIR}/git"
+
 .. note::
 
    Specifying passwords directly in ``git://`` urls is not supported.
-- 
2.31.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-08  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08  8:50 [PATCH] doc: bitbake-user-manual-fetching: S should be set to WORKDIR/git for git fetcher Quentin Schulz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).