Add packages to your target image
To add a package, such as strace to your image, add the following to your project’s
IMAGE_INSTALL_append = " strace"
Note the required white space when appending a value to an array variable using the
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:
EXTRA_IMAGE_FEATURES = "<feature-name1> <feature-name2>"
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.
Digi Embedded Yocto features:
dey-audio: Adds audio support to a platform.
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-gstreamer: Adds the gstreamer framework to a platform.
dey-network: Adds network applications and tools.
dey-qt: Adds QT support.
dey-trustfence: Adds TrustFence support.
dey-webkit: Adds WebKit browser and examples.
dey-wireless: Includes wireless applications and drivers.
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
.bbappendrecipe. 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