Skip to main content
Provides information on how to add image recipes and build using BitBake command.

Image recipe concepts

An image recipe (.bb file) defines the complete set of packages installed in the root filesystem. Qualcomm provides reference images in meta-qcom-distro/recipes-products/images. For a description of each reference image, see meta-qcom-distro.

Qualcomm reference images

Creating a custom image recipe

  1. To add an image recipe, change the directory to <workspace>/layers/meta-qcom-distro/recipes-products/images.
  2. Create a file, for example sample-image.bb, and add the following content:
  3. Add the sample-image.bb file to the meta-qcom/ci/qcom-distro.yml CI file, under target::
  4. Source the environment:
  5. Build using the BitBake command:
    The generated images are as follows: