Book Image

Embedded Linux Development with Yocto Project

Book Image

Embedded Linux Development with Yocto Project

Overview of this book

Table of Contents (22 chapters)
Embedded Linux Development with Yocto Project
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
References
Index

Adding metadata to the layer


The reasoning behind the use of layers is to add extra metadata to BitBake's database or change it.

The most commonly added features are project related, such as applications, libraries, or a service server.

On the other hand, instead of adding new features, it is much more usual to accommodate existing feature configurations to our needs, for example, the initial network values for a SSH server or the boot splash picture.

It means that we can include several types of metadata files on a new layer, recipes, images, and bbappend files to change existing features. The script used to create the new layer can, as well, create two example files; the first one, example_0.1.bb is a recipe example. The second one, example_0.1.bbappend, is a bbappend example used to modify the feature included by example_0.1.bb. There are several other examples of bbappend files on meta-yocto-bsp or meta-yocto, and we explore some of their common usages in the next chapter.