]> code.ossystems Code Review - openembedded-core.git/commit
rootfs-postcommands: update systemd_create_users
authorVyacheslav Yurkov <uvv.mail@gmail.com>
Fri, 19 Nov 2021 21:05:39 +0000 (22:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Nov 2021 10:53:12 +0000 (10:53 +0000)
commitf86ffdb1b77c6ba32ec250545a40c1c54f983f21
tree231bc752d5c41a4b3d77e856edee57e571478fab
parent0ec40fa3aff233bd0dde0461299150786da956ef
rootfs-postcommands: update systemd_create_users

Process all systemd-sysusers configuration files in order to create
users/groups at build time. systemd-sysusers would try to create them at
run-time, but for read-only rootfs that's not possible and results in
warnings from different services:

systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring
systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring
systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:42 Unknown group 'sgx', ignoring

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs-postcommands.bbclass