Create your project specific image#

Time to create your project specific image. Under build/sources/extra/meta-my-project-layer/recipes-core/images create a file my-project-image.bb.

Reusing the simplecore-weston-demo-image the new recipe could look like this

require recipes-core/images/simplecore-weston-image.inc

SUMMARY = "My project image"

LICENSE = "CLOSED"

IMAGE_INSTALL += "\
    packagegroup-simplecore-tools \
    weston-launcher-terminal \
    my-project-specific-application \
"

You can build and flash this new image in the same way as described earlier. Just you need to exchange the name of simplecore-weston-demo-image for my-project-image.