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 └── gpio-packt │ ├── gpio-packt │ │ ├── fix.patch │ │ └── gpio-example.c │ └── gpio-packt.bb ├── recipes-example │ └── example │ ├── example-packt-0.1 │ │ ...