Creating the raspberry-packt-image.bb image
Through out
this chapter, our aim
was to
create
a layer that
can be reused
in any environment. We'll see how
to create our own
image to
be
more
dependent on
images
provided by the
meta-raspberrypi
BSP
layer. There's no need to worry, because to create an image, we just need to make a recipe file.
Creating the environment
To separate
the recipes of our
layer, we will position
our image
recipe
in a layer
called
recipe-core
, where
we will create our
raspberry-packt-image.bb
recipe
file.
Here are the
results of our
layer after
creating
it:
$ tree meta-packt_rpi/ meta-packt_rpi/ ├── conf │ └── layer.conf ├── COPYING.MIT ├── README ├── recipes-core │ └── images │ ├── raspberry-packt-image.bb ├── recipes-custom ...
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.