]> code.ossystems Code Review - openembedded-core.git/commit
useradd_base.bbclass: Make perform_groupmems handle overlapping usernames
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Mon, 15 Oct 2018 20:25:44 +0000 (22:25 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Oct 2018 22:19:37 +0000 (23:19 +0100)
commit3bab0416f20366e75444be9b65fb1369643f103a
tree326330b140e616de558e3331731f74446c77e2df
parentb4ea23adf58d664f3cc5abe6d04b507fc000426e
useradd_base.bbclass: Make perform_groupmems handle overlapping usernames

If the name of the last user being part of the group had a name that
was a prefix of the user being added, then perform_groupmems() would
treat it as if the user already existed in the list of users and not
add it.

Reported-by: Peter Henricsson <peter.henricsson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/useradd_base.bbclass