Show Contents

# Customize the root file system

### 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:

    IMAGE_INSTALL_append = " strace"

Note Include the space before the word strace.

### 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 DEY 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 = "<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 DEY 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 DEY debugging applications as memwatch and fbtest.
- dey-examples: Adds DEY 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 suggested 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

© 2018 Digi International Inc. All rights reserved.
Customize the root file system updated on 22 January 2018 04:43:18 PM