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>
This commit is contained in:
Bruce Ashfield 2023-03-17 12:28:51 -04:00
parent fd0958ed9e
commit 4be39209be

View File

@ -11,6 +11,9 @@ IMAGE_INSTALL = " \
kernel-module-kvm-amd \
"
inherit features_check
REQUIRED_DISTRO_FEATURES ?= "kvm"
IMAGE_FEATURES += "ssh-server-openssh"
IMAGE_LINGUAS = " "