# 7.15. Creating images - image.bbclass and rootfs*.bbclass

## 7.15. Creating images - `image.bbclass` and `rootfs*.bbclass`

These classes add support for creating images in several formats. First, the root filesystem is created from packages using one of the `rootfs_*.bbclass` files (depending on the package format used) and then the image is created.

The `IMAGE_FSTYPES` variable controls the types of images to generate.

The `IMAGE_INSTALL` variable controls the list of packages to install into the image.