]> code.ossystems Code Review - openembedded-core.git/commit
weston: Use systemd notify,
authorPavel Zhukov <pavel.zhukov@huawei.com>
Wed, 6 Oct 2021 11:19:13 +0000 (13:19 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 19 Oct 2021 14:04:49 +0000 (04:04 -1000)
commit4efdcc10906945765aa28324ce1badc59cda2976
treeb6121f82ea662d6df1930a6a9a3ab47553863233
parentd4ec2802306b901d00bc88ea1452c21c00d0914f
weston: Use systemd notify,

Using systemd notify fixes the problem with dependency chain in case
if other services depend on running weston.
This change required more robust handling of weston modules arguments
due to custom argument parser impmentation in weston (only last
--modules argument is accepted) and fixes the bug in modules handling
in the weston-start script (only last argument is actually parsed by
weston). Master branch implements systemd-notify thus backport but
doesn't utilize modules anymore so this change is mostly dunfell
specific.

Upstream-status: Backport

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-graphics/wayland/weston-init/weston-start
meta/recipes-graphics/wayland/weston-init/weston@.service
meta/recipes-graphics/wayland/weston/systemd-notify.weston-start [new file with mode: 0644]
meta/recipes-graphics/wayland/weston/xwayland.weston-start
meta/recipes-graphics/wayland/weston_8.0.0.bb