From: Neena Busireddy <[email protected]>

Do not install x11 packages when both x11 and wayland DISTRO_FEATURES are 
availiable.
Wayland backend is preferred as we will be using X11 on top of Wayland 
(XWayland).

Signed-off-by: Neena Busireddy <[email protected]>
Signed-off-by: Tom Hochstein <[email protected]>
---
 recipes-fsl/packagegroups/packagegroup-core-x11-base.bbappend | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 
recipes-fsl/packagegroups/packagegroup-core-x11-base.bbappend

diff --git a/recipes-fsl/packagegroups/packagegroup-core-x11-base.bbappend 
b/recipes-fsl/packagegroups/packagegroup-core-x11-base.bbappend
new file mode 100644
index 0000000..adcf4b7
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-core-x11-base.bbappend
@@ -0,0 +1,5 @@
+
+# Remove matchbox for xwayland
+matchbox = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 
'matchbox-terminal matchbox-wm', '', d)}"
+
+RDEPENDS_${PN}_remove = "${matchbox}"
-- 
2.1.4

-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to