<workspace>/layers/meta-qcom-distro/conf/distro/qcom-distro.conf. To inspect the DISTRO_FEATURES variable, run the following command:
DISTRO_FEATURES shown in the output.
Add distribution configuration
To add a distribution configuration file, do the following:- Add a
test-distro.conffile in<workspace>/layers/meta-qcom-distro/conf/distro. - Use the same content as
qcom-distro.conf, that is,cp qcom-distro.conf test-distro.conf. - Set
DISTRO_NAME = "Test reference distribution"in thetest-distro.conffile. - Set
DISTROOVERRIDES = "test-dist"in thetest-distro.conffile. - Use
meta-qcom/ci/qcom-distro.ymlas a reference to create a thetest-distrodistribution file. - To initialize the kas build environment, run the following command:
test-distro has taken effect and to build the image, follow the steps:
- To verify if the
test-distrodefined has taken effect, open theconf/local.conffile to confirm the following: - To verify the output, run the following command:
Note If you have access to
meta-qcom-extras, add it toEXTRALAYERS ?=${WORKSPACE}/layers/meta-qcom-extrasin theconf/bblayers.conffile. - To rebuild the image, run the following command:
Enable or disable DISTRO_FEATURES
DISTRO_FEATURES provide a mechanism to verify which packages are included in the generated images. You can select the features you want to enable through the DISTRO_FEATURES variable, which is set or appended to in a test-distro.conf configuration file of a distribution. For more information, see Distribution features.
Note
Select a feature defined by the community.
- Open the
test-distro.conffile and add the following line: - Test if the change has taken effect, and then rebuild:
The output is as follows:
- To rebuild, run the following command:

