PTU5KAS/kas
Claudius Heine 267a53e78d kas/libcmds: add creation of $HOME/.aws
Bitbake provides a S3 fetcher (`lib/bb/fetch2/s3.py`), however the
`AWS_CONFIG_FILE` and `AWS_SHARED_CREDENTIALS_FILE` variables are not
transfered to the environment of the fetcher command (`aws` in this
case) in the `runfetchcmd` function (`lib/bb/fetch2/__init__.py`).

That means the location of these files need to be the default one, so
copying it in KAS to the new HOME directory is necessary.

This patch implements the copying of those files if the
`AWS_CONFIG_FILE` and `AWS_SHARED_CREDENTIALS_FILE` are set.

Per default there variables are not available in the bitbake
environment. To have them available there a `env` entry in the kas
configuration will be necessary.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2020-05-05 14:34:28 +02:00
..
__init__.py __init__: Better support introspection 2018-12-07 09:56:09 +01:00
__main__.py Correct grammar, spelling and copyright year in files 2018-09-05 12:46:35 +02:00
__version__.py Release 2.0 2019-11-20 06:53:15 +01:00
build.py build: Fix name of argument variable 2019-09-03 10:42:19 +02:00
config.py config: use 'qemux86-64' instead of 'qemu' as default for KAS_MACHINE 2020-02-18 13:05:13 +01:00
configschema.py Correct grammar, spelling and copyright year in files 2018-09-05 12:46:35 +02:00
context.py scripts: Remove pylint 2018-12-07 09:55:26 +01:00
includehandler.py Address deprecated warnings with Python 3.8 2020-01-09 11:53:29 +01:00
kas.py Avoid "RuntimeError: Event loop is closed" 2019-09-25 11:00:45 +02:00
libcmds.py kas/libcmds: add creation of $HOME/.aws 2020-05-05 14:34:28 +02:00
libkas.py Address deprecated warnings with Python 3.8 2020-01-09 11:53:29 +01:00
repos.py Fix reporting of repo patch IDs 2020-04-10 18:10:17 +02:00
shell.py scripts: Remove pylint 2018-12-07 09:55:26 +01:00