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-03-28 13:50:45 -0700
commit12aef494a18150882b97472de6984f4d311f4184 (patch)
treeedd868d09d3783e6ae866b336b7d3b007cfa16b9
parentc9a0427aac0ff9792adf28e410ab79db8936ff60 (diff)
downloadmeta-xilinx-12aef494a18150882b97472de6984f4d311f4184.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