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

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to