Skip to contentSkip to conversation

weston-init: Pass --continue-without-input when launching weston

PATCH In review Khem Raj 1 participant 2 messages Nov 27, 2021 – Nov 29, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

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

---
 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
index a849f29bcbd..f74ac8b1846 100644
@@ -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
index e09625b31c6..c7583e92e6e 100644
@@ -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
author
#1 lore raw

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

---
 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
index a849f29bcbd..f74ac8b1846 100644
@@ -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
index e09625b31c6..c7583e92e6e 100644
@@ -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