Chapter 8. Images

The OpenEmbedded build process supports several types of images to satisfy different needs. When you issue the bitbake command you provide a “top-level” recipe that essentially begins the build for the type of image you want.

Note

Building an image without GNU General Public License Version 3 (GPLv3) components is only supported for minimal and base images. Furthermore, if you are going to build an image using non-GPLv3 components, you must make the following changes in the local.conf file before using the BitBake command to build the minimal or base image:
     1. Comment out the EXTRA_IMAGE_FEATURES line
     2. Set INCOMPATIBLE_LICENSE = "GPLv3"
        

From within the poky Git repository, use the following command to list the supported images:

     $ ls meta*/recipes*/images/*.bb
        

These recipes reside in the meta/recipes-core/images, meta/recipes-extended/images, meta/recipes-graphics/images, and meta/recipes-sato/images directories within the source directory. Although the recipe names are somewhat explanatory, here is a list that describes them:

Tip

From the Yocto Project release 1.1 onwards, -live and -directdisk images have been replaced by a "live" option in IMAGE_FSTYPES that will work with any image to produce an image file that can be copied directly to a CD or USB device and run as is. To build a live image, simply add "live" to IMAGE_FSTYPES within the local.conf file or wherever appropriate and then build the desired image as normal.