diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-03-17 12:28:51 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2023-03-17 12:30:15 -0400 |
commit | 4be39209be25e5bad2686f2511d0b4ff5c30603b (patch) | |
tree | 10502ee8596fbb9e2dc5dfa0b3327daf1e25c5e8 | |
parent | fd0958ed9e38fb5215218ac772230abc2f65c4c2 (diff) | |
download | meta-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.bb | 3 |
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 | ||
14 | inherit features_check | ||
15 | REQUIRED_DISTRO_FEATURES ?= "kvm" | ||
16 | |||
14 | IMAGE_FEATURES += "ssh-server-openssh" | 17 | IMAGE_FEATURES += "ssh-server-openssh" |
15 | 18 | ||
16 | IMAGE_LINGUAS = " " | 19 | IMAGE_LINGUAS = " " |