From 0f35dc4dfc829fe9c51c239d15567f86c5c14e58 Mon Sep 17 00:00:00 2001 From: Valentin Danaila Date: Thu, 16 Sep 2021 18:56:09 +0300 Subject: fetch2/s3: allow to switch profile from environment variable Make usage of Bitbake's s3 fetcher more flexible with different AWS profiles and switch between profiles as export of the AWS_PROFILE environment variable Signed-off-by: Valentin Danaila 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 d9e1599a0..ee29d89b1 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -834,6 +834,7 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH', 'DBUS_SESSION_BUS_ADDRESS', 'P4CONFIG', 'SSL_CERT_FILE', + 'AWS_PROFILE', 'AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY', 'AWS_DEFAULT_REGION'] -- cgit 1.2.3-korg