tizen: Add additional unit for "unified" user session 64/204564/1 accepted/tizen/unified/20190502.112856 submit/tizen/20190502.022402
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 23 Apr 2019 09:59:58 +0000 (11:59 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 23 Apr 2019 10:08:44 +0000 (12:08 +0200)
commit41452349d956d5c890f7a743c155600f8b091f63
tree04b70542b1704578d86dda6d0920ccf3fd373bec
parent392e8ffc59a36bdc4e2f61420e1a2c339b44d9ba
tizen: Add additional unit for "unified" user session

The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.

user@.target will contain same units as previously available in user/,
with same UID and environment setup.  systemd instance is used for unit
to be able to specify UID (inherited from user@.target).

The rationale behind this work is following:

* VD requirement to remove user session support
* boot time optimization requirements, due to:

   + 'systemd --user' taking 1s its own startup that could be used for
     unit startup
   + ability to better rearrange units if these managed by one systemd
     instance

Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).

Change-Id: I34ec6af3e2736348747a3d702451d540354c9831
packaging/csr-framework.spec
systemd/CMakeLists.txt
systemd/csr-popup@.service.in [new file with mode: 0644]
systemd/csr-popup@.socket.in [new file with mode: 0644]