]> code.ossystems Code Review - openembedded-core.git/commit
weston-init: correctly start under systemd
authorAlexander Kanavin <alex.kanavin@gmail.com>
Mon, 9 Nov 2020 08:31:29 +0000 (09:31 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Nov 2020 10:08:07 +0000 (10:08 +0000)
commit72dd74c5d384dbe641cc7c02ecf766ff8d5f555f
tree5a948e96425e83faed9188c2525935120d4b3473
parentf89138e12c3021ed49aa7ccdf90543d2aaaad279
weston-init: correctly start under systemd

Several issues are addressed:
1. weston requires pam when starting under systemd
2. systemd was attempting to launch weston twice (from
sysvinit script and from systemd unit file) which caused confusion
and errors.
3. runtime test should stop/start weston via systemd only if systemd
actually controls system startup, not merely when systemd is present.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/weston.py
meta/recipes-graphics/wayland/weston-init.bb