tizen: Add additional unit for "unified" user session 28/204128/1
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 19 Apr 2019 08:51:11 +0000 (10:51 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 19 Apr 2019 13:32:35 +0000 (15:32 +0200)
commitc64ea0f61a0842c7b71c3ccb9018fd9dce088164
tree01b8eda7ebf5e73b1bfa04fb759fccbc620db336
parent3f3b64df9928cfda09f68aa9554ed148deffd76a
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: I232c8be6cc6fce07ae694d5b0ac2f08d8b98c3a0
bus/at-spi-dbus-bus@.service.in [new file with mode: 0644]
bus/meson.build
meson.build
meson_options.txt
packaging/at-spi2-core.spec