Allow to define task in config and environment

Based on original patch by Sascha Weisenberger.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka
2017-09-25 09:08:09 +02:00
committed by Daniel Wagner
parent d06bdc4781
commit 13a87cb8c7
4 changed files with 28 additions and 12 deletions

View File

@@ -74,6 +74,7 @@ Environment variables
| ``KAS_DISTRO`` | This overwrites the respective setting in the |
| ``KAS_MACHINE`` | configuration file. |
| ``KAS_TARGET`` | |
| ``KAS_TASK`` | |
+-----------------------+-----------------------------------------------------+
| ``SSH_PRIVATE_KEY`` | Path to the private key file that should be added |
| | to an internal ssh-agent. This key cannot be |
@@ -298,6 +299,10 @@ Static configuration reference
Contains the target to build by bitbake. Can be overwritten by the
``KAS_TARGET`` environment variable and defaults to ``core-image-minimal``.
* ``task``: string [optional]
Contains the task to build by bitbake. Can be overwritten by the
``KAS_TASK`` environment variable and defaults to ``build``.
* ``repos``: dict [optional]
Contains the definitions of all available repos and layers.