diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-11-27 01:22:39 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-29 23:07:13 +0000 |
commit | 5c95402ff95e992de5c7f05a1e4cc6bcfdbfd8df (patch) | |
tree | 4742d7b6addcaf273843edb4073e8769574adb5d /meta/recipes-graphics | |
parent | f0627490711f29f0e308a0afc4fc4f8e54f58dec (diff) | |
download | poky-5c95402ff95e992de5c7f05a1e4cc6bcfdbfd8df.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
(From OE-Core rev: 762a20b493cc219a46d9ac188fe4895a111ee7b4)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/wayland/weston-init/init | 2 | ||||
-rw-r--r-- | 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 | |||
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/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 | |||
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 |