Adding all the users / groups to systemd is only available for readonly
file systems. This change allows users to add them to read / write file
systems as well by specifying:
ROOTFS_POSTPROCESS_COMMAND += "systemd_create_users"
Also, add "--shell /sbin/nologin" to each user's add params.
[
Changed since last version:
Removed some unnecessary code.
Stephano Cetola (1):
systemd: allow add users as a rootfs postprocess cmd
meta/classes/rootfs-postcommands.bbclass | 44 +++-
1 file changed, 21 insertions(+), 23 deletions(-)
--
2.8.2
--
___