weston-init: Use weston-launch for XWayland
PATCH 1/1 weston-init: Use weston-launch for XWayland
From: Prabhu Sundararaj <[email protected]>
When XWayland is configured, Weston must be started using the weston-launch utility.
Signed-off-by Tom Hochstein <[email protected]>
--- meta/recipes-graphics/wayland/weston-init/init | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston-init/init +10 -1
@@ -38,7 +38,16 @@ case "$1" in chmod 0700 $XDG_RUNTIME_DIR fi - openvt -s weston -- $OPTARGS + # If weston-launch exists, we're configured for XWayland. + if [ -f /usr/bin/weston-launch ]; then + echo "Starting Weston in XWayland" + export XDG_CONFIG_HOME=/etc + openvt -v -- weston-launch -- --log=/var/log/weston.log $OPTARGS + else + echo "Starting Weston" + openvt -s weston -- --log=/var/log/weston.log $OPTARGS + #grep console to look for gal2d-renderer.so. if no failed + fi ;; stop)
Signature · 1 line
2.1.4
Quoted 4 lines · Tom Hochstein
From: Prabhu Sundararaj <[email protected]>
When XWayland is configured, Weston must be started using the weston-launch utility.
Wrong ML, this belongs to oe-core ML
Quoted 36 lines
Signed-off-by Tom Hochstein <[email protected]>--- meta/recipes-graphics/wayland/weston-init/init | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)meta/recipes-graphics/wayland/weston-init/init +10
-1@@ -38,7 +38,16 @@ case "$1" in chmod 0700 $XDG_RUNTIME_DIR fi - openvt -s weston -- $OPTARGS + # If weston-launch exists, we're configured for XWayland. + if [ -f /usr/bin/weston-launch ]; then + echo "Starting Weston in XWayland" + export XDG_CONFIG_HOME=/etc + openvt -v -- weston-launch -- --log=/var/log/weston.log $OPTARGS + else + echo "Starting Weston" + openvt -s weston -- --log=/var/log/weston.log $OPTARGS + #grep console to look for gal2d-renderer.so. if no failed + fi ;; stop)Signature · 7 lines
2.1.4 -- _______________________________________________ poky mailing list [email protected] https://lists.yoctoproject.org/listinfo/poky
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]