Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/kas/latest.json
Source https://raw.githubusercontent.com/siemens/kas/master/kas/schema-kas.json

Validate with Lintel

npx @lintel/lintel check
Type: object

kas, a setup tool for bitbake based projects

Properties

header object required

Header of every kas configuration file. It contains information about the context of the file.

2 nested properties
version const: "0.10" | integer required

Version of the configuration file format.

includes string | object[]

List of configuration files to include (parsed depth-first). They are merged in order they are stated. So a latter one could overwrite settings from previous files. The current file can overwrite settings from every included file.

build_system enum

Defines the bitbake-based build system.

Values: "openembedded" "oe" "isar"
defaults object

Default values applied to all configuration nodes.

1 nested properties
repos object

Default values for some repository properties.

4 nested properties
branch string

Default branch property applied to all repositories that do not override this.

tag string

Default tag property applied to all repositories that do not override this.

refspec string

Deprecated: Use 'branch' / 'tag' instead.

patches object

Default patches to apply to all repositories.

1 nested properties
repo string
overrides object

Overrides for specific configuration nodes. By that, only items that already exist are overridden. Note, that all entries below this key are reserved for auto-generation using kas plugins. Do not manually add entries.

1 nested properties
repos Record<string, object>
machine string

Value of the MACHINE variable that is written into the local.conf. Can be overwritten by the KAS_MACHINE environment variable.

Default: "qemux86-64"
distro string

Value of the DISTRO variable that is written into the local.conf. Can be overwritten by the KAS_DISTRO environment variable.

Default: "nodistro"
env Record<string, string | null>

Environment variables to forward and their default values (set to nulltype to only forward if set). These variables are made available to bitbake via BB_ENV_PASSTHROUGH_ADDITIONS (BB_ENV_EXTRAWHITE in older Bitbake versions) and can be overwritten by the variables of the environment in which kas is started.

target string | string[]

Single target or a list of targets to build by bitbake. Can be overwritten by the KAS_TARGET environment variable. Space is used as a delimiter if multiple targets should be specified via the environment variable. For targets prefixed with multiconfig: or mc:, corresponding entries are added to the BBMULTICONFIG in local.conf.

Default: "core-image-minimal"
task string

Task to build by bitbake. Can be overwritten by the KAS_TASK environment variable.

Default: "build"
repos Record<string, object | null>

Definitions of all available repos and layers. The layers are appended to the bblayers.conf sorted by the layer priority first (descending), then repository name and then by the layer name (ascending).

bblayers_conf_header Record<string, string>

Header to prepend to the bblayers.conf before any layers are included.

local_conf_header Record<string, string>

Header to prepend to the local.conf.

proxy_config object

Deprecated. Proxy variables are automatically forwarded.

4 nested properties
http_proxy string
https_proxy string
ftp_proxy string
no_proxy string
menu_configuration Record<string, boolean | string | integer>

Menu configuration, auto-generated by menu plugin.

artifacts Record<string, string>

Artifacts which are expected to be present after executing the build (id / path pairs).

signers Record<string, object>

Specification of the repository signature verification.

_source_dir string

Path to the top repo at time of invoking the plugin (auto-generated by the menu plugin). It must not be set manually and might only be defined in the top-level .config.yaml file.

_source_dir_host string

Source directory of the config file on the host (auto-generated by kas menu plugin, when using kas-container).

buildtools object
4 nested properties
version string required

Yocto Project version, as 5.0 (or even 5.0.8) for Scarthgap.

sha256sum string required

The installer's checksum, to perform integrity validation of the fetched artifact.

base_url string

Base URL to fetch downloads from.

Default: "https://downloads.yoctoproject.org/releases/yocto"
filename string

Alternative name for the buildtools archive (.sh) to be downloaded.

Definitions

layerPrio object
prio integer

Include order priority, higher means earlier. The include priority is global, hence it is applied across all repositories.

Default: 0
min=-99max=99