From: Martin Jansa <[email protected]>

to match the image recipe from XEN_GUEST_BUNDLES

Fixes:
ERROR: Nothing PROVIDES 'xen-guest-image-minimal'
xen-guest-image-minimal was skipped: using DISTRO 'distro', which is missing 
required DISTRO_FEATURES: 'xen'
in bitbake world builds

Signed-off-by: Martin Jansa <[email protected]>
---
 .../xen-guest-bundles/example-xen-guest-bundle_1.0.bb        | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb 
b/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
index 96e17275..70f12492 100644
--- a/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
+++ b/recipes-extended/xen-guest-bundles/example-xen-guest-bundle_1.0.bb
@@ -26,7 +26,10 @@ DESCRIPTION = "Demonstrates xen-guest-bundle.bbclass by 
bundling the \
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-inherit xen-guest-bundle
+inherit xen-guest-bundle features_check
+
+# matches xen-guest-image-minimal recipe
+REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('IMAGE_FEATURES', 'x11', ' 
x11', '', d)} xen"
 
 # Define guests to bundle
 # Format: recipe-name[:autostart][:external]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9634): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9634
Mute This Topic: https://lists.yoctoproject.org/mt/118241118/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to