aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical/recipes-graphics/wayland
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2019-11-25 19:25:52 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-11-26 17:52:24 +0000
commit0eefa345c3554f960f1eb08ab6f5d8f336120d7b (patch)
tree7dac38a79d61adabca2439c1948304289e1a8bd2 /meta-agl-profile-graphical/recipes-graphics/wayland
parentab525dfab8913cd043ce133365e926b42f224d64 (diff)
agl-compositor: Add DISTRO_FEATURE to enable compositor
When the 'agl-compositor' distro feature is enabled, the AGL compositor will be enabled and start at boot instead of Weston. Change-Id: Idcd0c401c3d2c332637ddde1cd83d1fe85c4ae2a Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'meta-agl-profile-graphical/recipes-graphics/wayland')
-rw-r--r--meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend b/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend
index 398cd1c55..247aeeee3 100644
--- a/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend
+++ b/meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend
@@ -3,7 +3,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
inherit agl-graphical
-WESTONSTART ??= "/usr/bin/weston ${WESTONARGS}"
+WESTONSTART ??= "${@bb.utils.contains("DISTRO_FEATURES", "agl-compositor", "/usr/bin/agl-compositor", "/usr/bin/weston",d)} ${WESTONARGS}"
WESTONSTART_append = " ${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", " --log=${DISPLAY_XDG_RUNTIME_DIR}/weston.log", "",d)}"
DROPIN_NAME = "weston-init"