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>
This commit is contained in:
Valentin Danaila
2021-09-16 18:56:09 +03:00
committed by Richard Purdie
parent fbbc0f7461
commit a4c8d8e21a

View File

@@ -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']