From 612bdf09416ff96d08b22cf92b077516d23d0963 Mon Sep 17 00:00:00 2001 From: Matthias Schnelte Date: Sun, 17 Sep 2023 14:31:13 +0200 Subject: 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. Signed-off-by: Matthias Schnelte Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- lib/bb/fetch2/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index 765aedd51..ffb1a92b2 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -874,6 +874,7 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH', 'AWS_SECRET_ACCESS_KEY', 'AWS_DEFAULT_REGION', 'GIT_CACHE_PATH', + 'REMOTE_CONTAINERS_IPC', 'SSL_CERT_DIR'] def get_fetcher_environment(d): -- cgit 1.2.3-korg