We only enable it conditionally if agl-devel is distro feature is on, as
it might be seen as a security hole. This helps CI to take screenshots.
Bug-AGL: SPEC-3752
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3731b19b557fca3d7e00906a37355db3e9f7b8d0
WESTONSTART ??= "${AGL_DEFAULT_WESTONSTART} ${WESTONARGS}"
WESTONSTART_append = " ${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", " --log=${DISPLAY_XDG_RUNTIME_DIR}/compositor.log", "",d)}"
+WESTONSTART_append = " ${@bb.utils.contains("DISTRO_FEATURES", "agl-devel", " --debug", "",d)}"
# Systemd name of DRM device to have weston/agl-compositor startup depend
# upon, if required. Currently only x86-64 seems to need a dependency to