]> code.ossystems Code Review - openembedded-core.git/commit
weston-init: Redefine weston service and add socket activation option
authorKhem Raj <raj.khem@gmail.com>
Wed, 9 Sep 2020 16:27:04 +0000 (09:27 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Sep 2020 12:47:28 +0000 (13:47 +0100)
commitc21fa5a291ab207a084285935ab73a0b4225c965
tree58033c263d217b12e50d16f2cca4e8501dba922e
parentcde415c640164ffd3593aff1ba32b252e68adbd8
weston-init: Redefine weston service and add socket activation option

Currently, weston when autolauched with systemd ends up with seat0
related errors because its launched before seat0 is assigned.

Fixes
[05:16:09.357] logind: failed to get session seat
[05:16:09.358] logind: cannot setup systemd-logind helper (-61), using legacy fallback

The above error results in ptest failures in parselogs, even though
weston has started ok using fallback methods, these errors are still seen in logs

Also fixes weston ptests
RESULTS - weston.WestonTest.test_weston_can_initialize_new_wayland_compositor: PASSED (8.58s)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Henning Heinold <henning@itconsulting-heinold.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/wayland/weston-init.bb
meta/recipes-graphics/wayland/weston-init/weston-autologin [new file with mode: 0644]
meta/recipes-graphics/wayland/weston-init/weston@.service
meta/recipes-graphics/wayland/weston-init/weston@.socket [new file with mode: 0644]