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>
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"
--- /dev/null
+DISTRO_FEATURES_append = " agl-compositor"
--- /dev/null
+---
+description: Feature agl-compositor
+authors: Daniel Stone <daniels@collabora.com>
+---
+
+### Feature agl-compositor
+
+_agl-compositor_ is a new Wayland display server framework, based on the
+existing libweston library. It provides AGL users an extensible framework for
+window/input/output management within the display server.
+
+It is included as a technology preview, and is not currently ready for
+production use.