]> code.ossystems Code Review - openembedded-core.git/commit
systemd: allow add users to groups in rootfs postprocess
authorStephano Cetola <stephano.cetola@linux.intel.com>
Thu, 14 Jul 2016 18:12:40 +0000 (11:12 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Jul 2016 06:45:01 +0000 (07:45 +0100)
commitf0a77bee3d092cf79b7e584b943a623eddd6e13d
treecbe52affdd41025c73c19623557099bfb12349b1
parente68774f684543fd75250e56ea88a5e0cb0a2dd0a
systemd: allow add users to groups in rootfs postprocess

Currently the functionality checks for the "u" and "g" flags to create users and
groups, but not the "m" flag to add users to groups. This change first checks to
be sure that the users and groups are created, creates them if necessary, then
adds the user to the group.

Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs-postcommands.bbclass