weston: Remove user session login for weston 94/21594/7
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 14 May 2019 14:11:58 +0000 (16:11 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 14 Jun 2019 09:22:13 +0000 (09:22 +0000)
commitde382e0eba1c57f2cd9a23323566754190b3a953
treefa4c1bc7d6d1ec42307c743f9b4ce30e56c6ef94
parent512c821136dc6bf97f17f59ec32476eca280df8b
weston: Remove user session login for weston

Before that commit, the service weston was started as
user 'display' with a full setup of the user.
It means that all services normally started for user
started for weston: systemd-user, dbus, afm-user-daemon,
lightmediascanner (that is all at the moment). This is
useless and grabs resources.

This commit avoids to start a session for weston.
This saves resources. This changes is part of a set
of changes to run services as not root.

Bug-AGL: SPEC-545
Bug-AGL: SPEC-2492

Change-Id: If51d8fdf8c5e19d10151a2b96a79dc01bbb8ccb4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend