]> code.ossystems Code Review - openembedded-core.git/commitdiff
weston-init: Pass --continue-without-input when launching weston
authorKhem Raj <raj.khem@gmail.com>
Sat, 27 Nov 2021 09:22:39 +0000 (01:22 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Nov 2021 23:07:10 +0000 (23:07 +0000)
This ensures that we do not need keyboard/mouse or other input system
Weston's default behavior is to not open if input devices are not
found, but we may not always have input devices connected for systems
running weston in field

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/wayland/weston-init/init
meta/recipes-graphics/wayland/weston-init/weston.service

index a849f29bcbd85c6d30d2ef4e061ef332ea555450..f74ac8b1846b0e18a0e12756ef73ec466d089c96 100644 (file)
@@ -32,7 +32,7 @@ case "$1" in
         . /etc/profile
        export HOME=ROOTHOME
 
-        weston-start -- $OPTARGS
+        weston-start -- --continue-without-input $OPTARGS
   ;;
 
   stop)
index e09625b31c6dbe7121665a554e26e267b809beb1..c7583e92e6e4fdae4f3685e1f2ba1c593bdd4946 100644 (file)
@@ -34,7 +34,7 @@ ConditionPathExists=/dev/tty0
 # Requires systemd-notify.so Weston plugin.
 Type=notify
 EnvironmentFile=/etc/default/weston
-ExecStart=/usr/bin/weston --modules=systemd-notify.so
+ExecStart=/usr/bin/weston --continue-without-input --modules=systemd-notify.so
 
 # Optional watchdog setup
 TimeoutStartSec=60