summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd
diff options
context:
space:
mode:
authorLouis Rannou <lrannou@baylibre.com>2023-06-15 13:43:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-17 11:50:57 +0100
commitf5b3ded656a491b59f8c9d5ce12cee665bb5d5f5 (patch)
treec8a5cd0ebc6f2c80d3ef4c3c2361156ce3a6d166 /meta/recipes-core/systemd/systemd
parent88abdec715ed0c1f613c9b5132cd45db741d5c65 (diff)
downloadpoky-f5b3ded656a491b59f8c9d5ce12cee665bb5d5f5.tar.gz
rootfs-postcommands: change sysusers.d command
The configuration in sysusers.d used to be parsed to create users/groups at build time instead at runtime. This was leading to several conflicts with users/groups defined in base-passwd recipe and specific definitions in recipes inheriting the useradd class. Some of those conflicts raised unseen errors in the do_rootfs command's logs. As an example, the root home directory is set by default to `/home/root` but systemd expects it as `/root`. The new command `systemd_sysusers_check` checks each configuration for users/groups and compare their properties to what is actually defined in the `/etc/passwd` and `/etc/group` of the target rootfs. (From OE-Core rev: 0c7e76df68acfeca059a6b906d2a891d56f01e77) Signed-off-by: Louis Rannou <lrannou@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd')
0 files changed, 0 insertions, 0 deletions