summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2023-03-17 12:28:51 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-03-17 12:30:15 -0400
commit4be39209be25e5bad2686f2511d0b4ff5c30603b (patch)
tree10502ee8596fbb9e2dc5dfa0b3327daf1e25c5e8
parentfd0958ed9e38fb5215218ac772230abc2f65c4c2 (diff)
downloadmeta-virtualization-4be39209be25e5bad2686f2511d0b4ff5c30603b.tar.gz
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>
-rw-r--r--recipes-extended/images/kvm-image-minimal.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-extended/images/kvm-image-minimal.bb b/recipes-extended/images/kvm-image-minimal.bb
index b28cc309..c6358e17 100644
--- a/recipes-extended/images/kvm-image-minimal.bb
+++ b/recipes-extended/images/kvm-image-minimal.bb
@@ -11,6 +11,9 @@ IMAGE_INSTALL = " \
11 kernel-module-kvm-amd \ 11 kernel-module-kvm-amd \
12 " 12 "
13 13
14inherit features_check
15REQUIRED_DISTRO_FEATURES ?= "kvm"
16
14IMAGE_FEATURES += "ssh-server-openssh" 17IMAGE_FEATURES += "ssh-server-openssh"
15 18
16IMAGE_LINGUAS = " " 19IMAGE_LINGUAS = " "