summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kohn <christian.kohn@xilinx.com>2022-02-25 03:34:25 +0100
committerMark Hatle <mark.hatle@xilinx.com>2022-02-28 12:13:53 -0800
commitbb7439368c6a1fc17ccb32731471d9e6c5661ba6 (patch)
treea2bfb7e99642fef81dc600a79e56402be598eb85
parentdbf773c58d3f0771fbd5f7bca8b77e1279ea6628 (diff)
downloadmeta-xilinx-bb7439368c6a1fc17ccb32731471d9e6c5661ba6.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> This commit is based on 762a20b493cc219a46d9ac188fe4895a111ee7b4 from meta-openembedded-core. It was later reverted in master because it breaks the fbdev backend. At Xilinx, we are using the drm backend so it is safe to add this. Signed-off-by: Christian Kohn <christian.kohn@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-core/recipes-graphics/wayland/files/init2
-rw-r--r--meta-xilinx-core/recipes-graphics/wayland/files/weston.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-xilinx-core/recipes-graphics/wayland/files/init b/meta-xilinx-core/recipes-graphics/wayland/files/init
index a849f29b..f74ac8b1 100644
--- a/meta-xilinx-core/recipes-graphics/wayland/files/init
+++ b/meta-xilinx-core/recipes-graphics/wayland/files/init
@@ -32,7 +32,7 @@ case "$1" in
32 . /etc/profile 32 . /etc/profile
33 export HOME=ROOTHOME 33 export HOME=ROOTHOME
34 34
35 weston-start -- $OPTARGS 35 weston-start -- --continue-without-input $OPTARGS
36 ;; 36 ;;
37 37
38 stop) 38 stop)
diff --git a/meta-xilinx-core/recipes-graphics/wayland/files/weston.service b/meta-xilinx-core/recipes-graphics/wayland/files/weston.service
index e09625b3..c7583e92 100644
--- a/meta-xilinx-core/recipes-graphics/wayland/files/weston.service
+++ b/meta-xilinx-core/recipes-graphics/wayland/files/weston.service
@@ -34,7 +34,7 @@ ConditionPathExists=/dev/tty0
34# Requires systemd-notify.so Weston plugin. 34# Requires systemd-notify.so Weston plugin.
35Type=notify 35Type=notify
36EnvironmentFile=/etc/default/weston 36EnvironmentFile=/etc/default/weston
37ExecStart=/usr/bin/weston --modules=systemd-notify.so 37ExecStart=/usr/bin/weston --continue-without-input --modules=systemd-notify.so
38 38
39# Optional watchdog setup 39# Optional watchdog setup
40TimeoutStartSec=60 40TimeoutStartSec=60