meta-virtualization/recipes-extended/images/kvm-image-minimal.bb
Bruce Ashfield 4be39209be images/kvm: check for kvm distro feature
We need the kvm distro feature to trigger the proper KERNEL_FEATURES
and hence the proper kvm kernel module packages as listed in this
image.

We can avoid questions and issues by checking for the required distro
feature in the image recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-03-17 12:30:15 -04:00

26 lines
426 B
BlitzBasic

DESCRIPTION = "A minimal kvm image"
IMAGE_INSTALL = " \
packagegroup-core-boot \
qemu \
libvirt \
libvirt-libvirtd \
libvirt-virsh \
kernel-module-kvm \
kernel-module-kvm-intel \
kernel-module-kvm-amd \
"
inherit features_check
REQUIRED_DISTRO_FEATURES ?= "kvm"
IMAGE_FEATURES += "ssh-server-openssh"
IMAGE_LINGUAS = " "
LICENSE = "MIT"
inherit core-image
IMAGE_ROOTFS_SIZE = "8192"