weston-init: Use the same config file from weston 13/24513/2
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 13 May 2020 16:29:53 +0000 (19:29 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 17 May 2020 15:57:44 +0000 (15:57 +0000)
Bug-AGL: SPEC-3374

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I1f3f78c8b15b1c488b12bff4fcc79c0511a48955

meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend

index c71402f..ddabff5 100644 (file)
@@ -4,6 +4,7 @@ inherit agl-graphical
 
 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)}"
+WESTONSTART_append = " ${@bb.utils.contains("DISTRO_FEATURES", "agl-compositor", " --config ${sysconfdir}/xdg/weston/weston.ini", "",d)}"
 
 WIFILES = " \
     file://weston.conf.in \