aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-01-12 16:17:30 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-01-12 20:59:00 +0000
commit8b0503c64094742a9dcee308b1127d41f20211d5 (patch)
tree07edd0214f2305c290a8f4acf67a0491ed5ef38e /recipes-graphics/wayland
parent4d9e90da2cd8d2b579aa75d2845afce19c3f4da0 (diff)
weston-init_agldemo: Enable debug option for agl-compositor
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
Diffstat (limited to 'recipes-graphics/wayland')
-rw-r--r--recipes-graphics/wayland/weston-init_agldemo.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston-init_agldemo.inc b/recipes-graphics/wayland/weston-init_agldemo.inc
index a5f0b09b5..a5eeab6c6 100644
--- a/recipes-graphics/wayland/weston-init_agldemo.inc
+++ b/recipes-graphics/wayland/weston-init_agldemo.inc
@@ -6,6 +6,7 @@ AGL_DEFAULT_WESTONSTART ??= "/usr/bin/agl-compositor --config ${sysconfdir}/xdg/
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