[OE-core] [PATCH v2] weston-init: Use weston-launch for XWayland
Alexander Kanavin
alexander.kanavin at linux.intel.com
Mon Dec 7 14:18:48 UTC 2015
On 12/07/2015 04:13 PM, Otavio Salvador wrote:
>> We're wondering how best to fix this.
>>
>> The Weston website seems to give the answer for a run-time solution, which is basically 'if $DISPLAY is set use weston, otherwise use weston-launch'.
>>
>> http://wayland.freedesktop.org/building.html
>>
>> Is that the right approach? Another possibility is to make it a build-time solution where the bsp layer sets a variable controlling the selection.
>
> Runtime is always better, when possible.
I guess you need to dig deeper into what weston-launch actually does,
and which are the scenarios when it should be used; the documentation
isn't particularly helpful here, so maybe you need to ask the upstream
developers.
Also, whatever fix you come up with, it should also be provided for the
situation when a native systemd unit file is used instead of the init
script (a patch for that has been posted here, and should show up in
master shortly).
Alex
More information about the Openembedded-core
mailing list