yocto-public/2-usage/imagecreate.md

20 lines
401 B
Markdown

# Create an image
Images are not very different from other recipes.
They should be put in any `recipe-*/images`.
# Example
```sh
SUMMARY = "My custom image"
LICENSE = "MIT"
# Based on another image
inherit core-image
IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}"
IMAGE_LINGUAS = " "
# Additionnal recipes to install
IMAGE_INSTALL += "top"
```