]> code.ossystems Code Review - openembedded-core.git/commit
systemd: Add homed PACKAGECONFIG
authorKristian Klausen <kristian@klausen.dk>
Fri, 3 Sep 2021 21:36:22 +0000 (23:36 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Sep 2021 14:05:39 +0000 (15:05 +0100)
commitfff339b5bd7789db5d0c024fc84490ac17fa4fe9
tree335a998c8c625e61d0725647b63d82f8a7c23c5f
parentffb886497390d4de2631bda671f2f631bc0bc7be
systemd: Add homed PACKAGECONFIG

If systemd is built with fdisk support[1] and the openssl and cryptsetup
PACKAGECONFIG are enabled, systemd-homed[1] is automatically enabled.
The org.freedesktop.home1.conf file was forgotten, so this commit adds
the file and make enabling homed a explicit choice.

systemd-homed.service and systemd-homed-activate.service have a Also= on
each other, so "systemctl" has been fixed to handle the circular
dependency.

userdb isn't strictly speaking needed for homed but "systemctl" can't
handle the missing unit file and upstream recommend enabling both[3].

[1] Automatically enabled if the fdisk dependency is installed which it
    is as util-linux is pulled in by systemd
[2] https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html
[3] https://github.com/systemd/systemd/commit/871dc8d644eef7542a5330f84c25b1db2617317c

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd-systemctl/systemctl
meta/recipes-core/systemd/systemd_249.3.bb