diff options
| author | Christian Kohn <christian.kohn@xilinx.com> | 2022-02-25 03:34:25 +0100 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-03-28 13:50:45 -0700 |
| commit | 12aef494a18150882b97472de6984f4d311f4184 (patch) | |
| tree | edd868d09d3783e6ae866b336b7d3b007cfa16b9 | |
| parent | c9a0427aac0ff9792adf28e410ab79db8936ff60 (diff) | |
| download | meta-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/init | 2 | ||||
| -rw-r--r-- | meta-xilinx-core/recipes-graphics/wayland/files/weston.service | 2 |
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. |
| 35 | Type=notify | 35 | Type=notify |
| 36 | EnvironmentFile=/etc/default/weston | 36 | EnvironmentFile=/etc/default/weston |
| 37 | ExecStart=/usr/bin/weston --modules=systemd-notify.so | 37 | ExecStart=/usr/bin/weston --continue-without-input --modules=systemd-notify.so |
| 38 | 38 | ||
| 39 | # Optional watchdog setup | 39 | # Optional watchdog setup |
| 40 | TimeoutStartSec=60 | 40 | TimeoutStartSec=60 |
