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

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

diff --git a/recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend 
b/recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend
new file mode 100644
index 0000000..3954f3d
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-core-x11-sato.bbappend
@@ -0,0 +1,10 @@
+
+
+matchbox-base = "${@base_contains('DISTRO_FEATURES', 'x11', \
+                                      base_contains('DISTRO_FEATURES', 
'wayland',' \
+                                         matchbox-desktop 
matchbox-session-sato  matchbox-keyboard matchbox-keyboard-applet 
matchbox-keyboard-im matchbox-config-gtk', '', d), '',d)}"
+matchbox-apps = "${@base_contains('DISTRO_FEATURES', 'x11', \
+                                      base_contains('DISTRO_FEATURES', 
'wayland','matchbox-terminal', '', d), '',d)}"
+
+RDEPENDS_${PN}-base_remove = "${matchbox-base}"
+RDEPENDS_${PN}-apps_remove = "${matchbox-apps}"
-- 
1.9.1

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

Reply via email to