OE Plan Specifications¶
Currently, tuxsuite only supports version 1.
Name and description¶
The name and description are only used if they are not defined on the command line.
name: plan name description: plan description
They can be overridden on the command line:
tuxsuite plan --name "another name" --description "another description"
Most of the configuration takes place in the
This section is a list of dictionary with one or two keys each.
Allowed combinations are:
- bake and bakes
A bake is defined by a dictionary:
- bake: build definition
When specifying multiple oebuilds, the job should be a list of dictionaries like:
- bakes: - build definition 1 - build definition 2 - build definition 3 [....]
TuxOE uses build-definition to describe the build:
- the layers to download
- machine type
- distro targets
TuxOE can download the layers using either git protocol or the repo tool.
Build definition format¶
- container: Docker container to use for the build. Supported containers:
name: (optional) Any Name
android: Android repo source, branch, manifest, build-config and url.
To build android 14.5.15 and common-android-mainline branch, field
bazel should be passed in sources. It accepts boolean value and defaults to false.
container: The container used by Docker to do the build. Supported containers are the same as the Android definition.
kas: (a dictionary): Each dictionary should have url, branch, yaml and optionally ref.
The build definition can include the following fields:
sources: (dictionary with a single item): Should be either one of git_trees or repo.
git_trees: (list of dictionaries): Each dictionary will have url, branch and optionally ref.
repo: (a dictionary): Should have branch, manifest and url*, describing where the manifests are hosted along with the branch and manifest file to be used in the build.
distro: The distro variable passed to OE build.
envsetup: Path to the script, relative to the source directory, that needs to be sourced to setup bitbake build environment.
extraconfigs(list of strings): each entry corresponds to some extra configs that will be copied to conf folder and will be used while building the target. It is used only if build definition has sources as repo or git_trees.
machine: The machine variable passed to OE build.
target: Target passed to the bitbake command.
container: The container used by Docker to do the build. Supported containers are same as in android definition.
local_conf: (list of strings): Each entry corresponds to a line in local.conf file. The list of string is converted to
bblayers_conf:(list of strings): Each entry corresponds to a line in bblayers.conf file. The list of string is converted to
environment: (dictionary of environment variables): They are set before calling bitbake.
In OE build definition sources, either provide git_trees or repo, not both.
Build definition of OpenBMC is similar to OE Definition except for the following:
- Distro is prefixed with
- sources should be