aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValentin Danaila <drlv85@gmail.com>2021-09-16 18:56:09 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-17 07:26:17 +0100
commit0f35dc4dfc829fe9c51c239d15567f86c5c14e58 (patch)
tree247166a34b096674f6490beba934be611d8e26f3
parentaff52fe21a0b27f6302555c1e52a864550eb46ce (diff)
downloadbitbake-0f35dc4dfc829fe9c51c239d15567f86c5c14e58.tar.gz
bitbake-0f35dc4dfc829fe9c51c239d15567f86c5c14e58.tar.bz2
bitbake-0f35dc4dfc829fe9c51c239d15567f86c5c14e58.zip
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 <drlv85@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/fetch2/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index d9e1599a..ee29d89b 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']