[OE-core] [<OE-core][PATCH v2 1/4] weston-init: Handle Weston startup correctly.
Otavio Salvador
otavio.salvador at ossystems.com.br
Sat Dec 19 09:57:33 UTC 2015
On Fri, Dec 18, 2015 at 8:36 PM, Tom Hochstein
<Tom.Hochstein at freescale.com> wrote:
> Hi Otavio,
>
> Does the existence of /usr/lib/weston/xwayland.so give us what we want?
>
> if [ -f /usr/lib/weston/xwayland.so ]; then
> mkdir -p /tmp/.X11-unix
> OPTARGS="--modules=xwayland.so $OPTARGS"
> fi
> openvt $OPENVT_ARGS -- sh -c "weston-launch -- $OPTARGS > /var/log/weston.log 2>&1"
No.
I think I came up with a plan:
- make weston-launch to be a wrapper
- make it source ${datadir}/weston/weston-launch.d/<scripts>
- XWayland package, you install a ${datadir}/weston/weston-launch.d/XWayland
XWayland file:
mkdir -p /tmp/.X11-unix
OPTARGS="--modules=xwayland.so $OPTARGS"
Done. It became a generic one ;-)
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-core
mailing list