diff mbox series

[2/2] packagegroup-core-x11-xserver: add opengl to REQUIRED_DISTRO_FEATURES

Message ID 20221205095151.3820258-2-mingli.yu@eng.windriver.com
State New
Headers show
Series [1/2] xorg-driver-common: add opengl to REQUIRED_DISTRO_FEATURES | expand

Commit Message

mingli.yu@eng.windriver.com Dec. 5, 2022, 9:51 a.m. UTC
From: Mingli Yu <mingli.yu@windriver.com>

Fixes:
  ERROR: Nothing RPROVIDES 'xf86-video-vesa' (but /build/layers/oe-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb RDEPENDS on or otherwise requires it)
  xf86-video-vesa was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'xf86-video-vesa' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['xf86-video-vesa']
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'packagegroup-core-x11-xserver', 'xf86-video-vesa']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../packagegroups/packagegroup-core-x11-base.bb                 | 2 +-
 .../packagegroups/packagegroup-core-x11-xserver.bb              | 2 +-
 meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb    | 2 +-
 meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
index 0185c93354..042b8cb30e 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
@@ -4,7 +4,7 @@  PR = "r1"
 
 inherit packagegroup features_check
 # rdepends on matchbox-wm
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 RDEPENDS:${PN} = "\
     packagegroup-core-x11-xserver \
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb
index 3bb308fbba..32cecfb8a1 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb
@@ -9,7 +9,7 @@  PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup features_check
 # rdepends on XSERVER
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 XSERVER ?= "xserver-xorg xf86-video-fbdev"
 XSERVERCODECS ?= ""
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
index 9ca058b38b..341a76a02b 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
@@ -5,7 +5,7 @@ 
 PR = "r40"
 
 inherit packagegroup features_check
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 PACKAGES = "${PN} ${PN}-utils"
 
diff --git a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
index 6866a4d738..aa850ce955 100644
--- a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
+++ b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
@@ -10,7 +10,7 @@  PR = "r33"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup features_check
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 PACKAGES = "${PN} ${PN}-base ${PN}-apps ${PN}-games"