weston-init: Pass --continue-without-input when launching weston
PATCH 1/1 weston-init: Pass --continue-without-input when launching weston
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 <[email protected]>
--- meta/recipes-graphics/wayland/weston-init/init | 2 +- meta/recipes-graphics/wayland/weston-init/weston.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/wayland/weston-init/init +1 -1
@@ -32,7 +32,7 @@ case "$1" in . /etc/profile export HOME=ROOTHOME - weston-start -- $OPTARGS + weston-start -- --continue-without-input $OPTARGS ;; stop)
meta/recipes-graphics/wayland/weston-init/weston.service +1 -1
@@ -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
Signature · 1 line
2.34.1
hold on to this one, since this option needs to be passed selectively only when drm backend is being used.
Quoted 41 lines · Khem Raj
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 <[email protected]>--- meta/recipes-graphics/wayland/weston-init/init | 2 +- meta/recipes-graphics/wayland/weston-init/weston.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)meta/recipes-graphics/wayland/weston-init/init +1
-1@@ -32,7 +32,7 @@ case "$1" in . /etc/profile export HOME=ROOTHOME - weston-start -- $OPTARGS + weston-start -- --continue-without-input $OPTARGS ;; stop)meta/recipes-graphics/wayland/weston-init/weston.service +1
-2@@ -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 --2.34.1