summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
authorMatthias Schnelte <develop@schnelte.de>2023-09-17 14:31:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-26 10:38:45 +0100
commit6cb490713ed30f1f13d25978aa0d377ce66b1861 (patch)
tree65f9dc687e147b9a9a36b8ef07bc3e31877822f1 /bitbake/lib/bb/fetch2/__init__.py
parent362c70a993ae954834a8deace68b3e4068282698 (diff)
downloadpoky-6cb490713ed30f1f13d25978aa0d377ce66b1861.tar.gz
bitbake: fetch2: Adds vscode devcontainer support
Visual studio code is injecting a git credential helper into every dev container. This helper is forwarding the git credentials from the host into the container. In order for this helper to work the REMOTE_CONTAINERS_IPC needs to be available in the environment for all git operations that require authentication. (Bitbake rev: 612bdf09416ff96d08b22cf92b077516d23d0963) Signed-off-by: Matthias Schnelte <develop@schnelte.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 765aedd51d..ffb1a92b26 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -874,6 +874,7 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH',
874 'AWS_SECRET_ACCESS_KEY', 874 'AWS_SECRET_ACCESS_KEY',
875 'AWS_DEFAULT_REGION', 875 'AWS_DEFAULT_REGION',
876 'GIT_CACHE_PATH', 876 'GIT_CACHE_PATH',
877 'REMOTE_CONTAINERS_IPC',
877 'SSL_CERT_DIR'] 878 'SSL_CERT_DIR']
878 879
879def get_fetcher_environment(d): 880def get_fetcher_environment(d):