From a4c8d8e21afa56eddb55400ea732ecb4000a5f2f Mon Sep 17 00:00:00 2001 From: Valentin Danaila Date: Thu, 16 Sep 2021 18:56:09 +0300 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake') 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', 'DBUS_SESSION_BUS_ADDRESS', 'P4CONFIG', 'SSL_CERT_FILE', + 'AWS_PROFILE', 'AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY', 'AWS_DEFAULT_REGION'] -- cgit v1.2.3-54-g00ecf