From: Khem Raj Date: Sat, 27 Nov 2021 09:22:39 +0000 (-0800) Subject: weston-init: Pass --continue-without-input when launching weston X-Git-Tag: uninative-3.5~682 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=762a20b493cc219a46d9ac188fe4895a111ee7b4;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/wayland/weston-init/init b/meta/recipes-graphics/wayland/weston-init/init index a849f29bcb..f74ac8b184 100644 --- a/meta/recipes-graphics/wayland/weston-init/init +++ b/meta/recipes-graphics/wayland/weston-init/init @@ -32,7 +32,7 @@ case "$1" in . /etc/profile export HOME=ROOTHOME - weston-start -- $OPTARGS + weston-start -- --continue-without-input $OPTARGS ;; stop) diff --git a/meta/recipes-graphics/wayland/weston-init/weston.service b/meta/recipes-graphics/wayland/weston-init/weston.service index e09625b31c..c7583e92e6 100644 --- a/meta/recipes-graphics/wayland/weston-init/weston.service +++ b/meta/recipes-graphics/wayland/weston-init/weston.service @@ -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