Chapter 7. Deploying a Custom Layer on the Raspberry Pi

In this chapter you will learn how to generate a custom layer with the different tools the Yocto Project offers. First of all, you'll discover how to generate a layer; then, you will integrate a recipe to the layer. In addition, to finish this chapter, we will generate a custom image. Reading this chapter will enable you to better organize your source code within the Yocto Project.

Creating the meta-packt_rpi layer with the yocto-layer script

To create our custom layer, we can use two different methods:

  • Manually: create the directory (meta-*) and create the layer configuration file (conf/layer.conf)
  • * Use the yocto-layer script provided by the Poky environment

To gain flexibility and avoid ...

Get Yocto for Raspberry Pi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.