Extend

This section of the User Guide describes how to customize the build for different architectural features and Use-Cases.

Customization

The Reference Stack defines a set of standard customizable environment variables that can be used to configure different architectural features.

Virtualization

The Reference Stack defines a set of standard customizable environment variables for configuring the domains included on a virtualization image. The following list shows the variables and their default values (where MB refers to Megabytes):

DOMU_VCPUS: "4"                                    # Number of CPUs for DomU
DOMU_MEMORY_SIZE: "1024"                           # Memory for DomU (in MB)

To customize these standard variables, set their value in the environment for the kas build. For example, to build a virtualization image allocating a non-default value of two CPUs and 512 MB of memory for its DomU, run:

DOMU_MEMORY_SIZE=512 DOMU_VCPUS=2 kas build --update rd-n2-automotive/yocto/kas/virtualization.yml