From 762a20b493cc219a46d9ac188fe4895a111ee7b4 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 27 Nov 2021 01:22:39 -0800 Subject: [PATCH] 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 --- meta/recipes-graphics/wayland/weston-init/init | 2 +- meta/recipes-graphics/wayland/weston-init/weston.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.1