From d8a51fd6288b54c2fe9d08a65a50e2d8cd38b91b Mon Sep 17 00:00:00 2001 From: Yoann Congal Date: Fri, 28 Jul 2023 18:27:51 +0200 Subject: bitbake: fetch2/gitsm: Document that we won't support propagating user parameter [YOCTO #13550] (Bitbake rev: 5e45b8eab60d651c98a950533043a4c96b9c8b01) Signed-off-by: Yoann Congal Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/gitsm.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bitbake/lib/bb/fetch2') diff --git a/bitbake/lib/bb/fetch2/gitsm.py b/bitbake/lib/bb/fetch2/gitsm.py index f8e239bc5d..47225b9721 100644 --- a/bitbake/lib/bb/fetch2/gitsm.py +++ b/bitbake/lib/bb/fetch2/gitsm.py @@ -123,6 +123,12 @@ class GitSM(Git): url += ";name=%s" % module url += ";subpath=%s" % module url += ";nobranch=1" + # Note that adding "user=" here to give credentials to the + # submodule is not supported. Since using SRC_URI to give git:// + # URL a password is not supported, one have to use one of the + # recommended way (eg. ~/.netrc or SSH config) which does specify + # the user (See comment in git.py). + # So, we will not take patches adding "user=" support here. ld = d.createCopy() # Not necessary to set SRC_URI, since we're passing the URI to -- cgit v1.2.3-54-g00ecf