Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v2] core-image-weston: Add wayland as required feature.
@ 2025-10-28 10:20 Walter Werner SCHNEIDER
  2025-10-28 10:26 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 3+ messages in thread
From: Walter Werner SCHNEIDER @ 2025-10-28 10:20 UTC (permalink / raw)
  To: openembedded-core

Running bitbake on the image without a DISTRO causes a "Nothing PROVIDES
'weston-xwayland'" error, and it doesn't help new users understand how to
get over the issue. With this change, you are guided by the errors and
can easily fix your image build by either adding the required
DISTRO_FEATURES or by setting a DISTRO, if you know the root cause.

Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
---

The fist patch didn't include an explenation. The same also happens when
trying to build core-image-sato without a DISTRO, I will provide a patch
for that, if this is the correct fix for this type of issue.

 meta/recipes-graphics/images/core-image-weston.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/images/core-image-weston.bb b/meta/recipes-graphics/images/core-image-weston.bb
index 62305cc1ce..96d9c34bfa 100644
--- a/meta/recipes-graphics/images/core-image-weston.bb
+++ b/meta/recipes-graphics/images/core-image-weston.bb
@@ -4,9 +4,11 @@ IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs weston
 
 LICENSE = "MIT"
 
-inherit core-image
+inherit core-image features_check
 
 CORE_IMAGE_BASE_INSTALL += "gtk+3-demo"
 CORE_IMAGE_BASE_INSTALL += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'weston-xwayland matchbox-terminal', '', d)}"
 
 QB_MEM = "-m 512"
+
+REQUIRED_DISTRO_FEATURES = "wayland"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-28 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-28 10:20 [PATCH v2] core-image-weston: Add wayland as required feature Walter Werner SCHNEIDER
2025-10-28 10:26 ` [OE-core] " Alexander Kanavin
2025-10-28 10:37   ` Walter Werner SCHNEIDER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox