From 855334b0f7e2d0a79eb4b9fbbaa1dcaad5a8d5ee Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Wed, 8 Sep 2021 10:50:03 +0200 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- .../bitbake-user-manual/bitbake-user-manual-fetching.rst | 7 +++++++ 1 file changed, 7 insertions(+) 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 @@ -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.