diff options
author | Valentin Danaila <drlv85@gmail.com> | 2021-09-16 18:56:09 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-17 07:26:24 +0100 |
commit | a4c8d8e21afa56eddb55400ea732ecb4000a5f2f (patch) | |
tree | 0315b1ac279814fbeba0ace6c1ce69e372bda98a /bitbake | |
parent | fbbc0f7461a2d3f99ae18ccabe983800bf090f7f (diff) | |
download | poky-a4c8d8e21afa56eddb55400ea732ecb4000a5f2f.tar.gz |
bitbake: 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
(Bitbake rev: 0f35dc4dfc829fe9c51c239d15567f86c5c14e58)
Signed-off-by: Valentin Danaila <drlv85@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index d9e1599a05..ee29d89b18 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -834,6 +834,7 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH', | |||
834 | 'DBUS_SESSION_BUS_ADDRESS', | 834 | 'DBUS_SESSION_BUS_ADDRESS', |
835 | 'P4CONFIG', | 835 | 'P4CONFIG', |
836 | 'SSL_CERT_FILE', | 836 | 'SSL_CERT_FILE', |
837 | 'AWS_PROFILE', | ||
837 | 'AWS_ACCESS_KEY_ID', | 838 | 'AWS_ACCESS_KEY_ID', |
838 | 'AWS_SECRET_ACCESS_KEY', | 839 | 'AWS_SECRET_ACCESS_KEY', |
839 | 'AWS_DEFAULT_REGION'] | 840 | 'AWS_DEFAULT_REGION'] |