Files
poky/meta/recipes-graphics
Wang Quanyang 99506b0017 weston-init: run login before start weston.service
When systemd start the weston.service, the script "weston-start" will
check if the dir "XDG_RUNTIME_DIR" (usually is /run/user/0) exits and
create it. Then weston will create a socket file "wayland-0" for communications
with clients in this dir.

If systemd is built with enabling "pam" feature, the login will call "run-user-0.mount"
to mount tmpfs at the dir "/run/user/0", then the socket file "wayland-0" will be
missing since it is created in the old "/run/user/0".

So add "PAMName=login" to let weston.service call login first, once tmpfs is mounted at
"/run/user/0", then call weston-start to create a socket file in it.

(From OE-Core rev: 3cb303ffee8610d41c9a0745d366556c24066bc3)

Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-20 17:38:23 +01:00
..
2016-06-15 18:05:23 +01:00
2018-01-14 09:11:57 +00:00
2016-12-20 15:22:16 +00:00
2018-08-16 09:49:38 +01:00
2017-11-09 12:33:17 +00:00
2018-07-24 11:52:26 +01:00
2016-07-10 14:12:17 +01:00
2018-06-27 13:55:21 +01:00
2018-06-29 11:07:45 +01:00
2018-07-18 10:18:42 +01:00
2018-01-29 08:49:49 +00:00
2018-06-21 09:34:40 +01:00
2018-07-30 12:44:35 +01:00