Add packages to your target image

If you want to add a package to your image, for example strace, add the following to your project’s conf/local.conf file:

conf/local.conf
IMAGE_INSTALL_append = " strace"
Note the required white space when appending a value to an array variable using the _append override syntax.

Add features to your target image

The Yocto project uses features to define a set of customizations to apply to target images, such as the addition of a related set of packages. Apart from the standard Yocto features, the Digi Embedded Yocto images introduce some new features that allow for a certain degree of customization ease. Use the following syntax to add features to your conf/local.conf project configuration file:

conf/local.conf
EXTRA_IMAGE_FEATURES = "<feat-name> <feat2-name>"

Most of the features are automatically selected based on the selected machine. For example, a machine that supports ALSA will include the dey-audio feature automatically.

New Digi Embedded Yocto features:

  • dey-audio: Adds audio support to a platform.

  • dey-gstreamer: Adds the gstreamer framework to a platform.

  • dey-network: Adds network applications and tools.

  • dey-wireless: Includes wireless applications and drivers.

  • dey-bluetooth: Adds Bluetooth support.

  • dey-debug: Adds Digi Embedded Yocto debugging applications as memwatch and fbtest.

  • dey-examples: Adds Digi Embedded Yocto example applications.

  • dey-qt: Adds QT support.

  • dey-trustfence: Adds TrustFence support.

Advanced customization

When you need to further customize Digi Embedded Yocto for your specific needs, the recommended way is to create a new layer. For example, you could create a custom layer called meta-custom. Your meta-custom layer can:

  • Include new recipes, for example to add new applications, or to add new files to the file system

  • Modify existing recipes in any other layer by adding a .bbappend recipe. This is also designed to modify existing files in the file system

  • Create a new target image

  • Create new machine configurations

  • Provide default kernel configurations or configuration fragments for your new platforms