diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-10-19 13:00:57 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-10-25 15:31:17 +0200 |
commit | ccec146c5218e27688262dc86c659301d8e1dee6 (patch) | |
tree | 7280f0e4bfb6ddaefcf6d6aa15665572e23430e1 /meta-oe/recipes-connectivity/libndp | |
parent | dd2748da79385e1b7280c0034f6128aabfd5a7dc (diff) | |
download | meta-openembedded-contrib-ccec146c5218e27688262dc86c659301d8e1dee6.tar.gz |
adduser: always add -M option for useradd
The useradd (from package passwd) in debian based system
sets -M (--no-create-home) by default, but the one we are
using (from package shadow) sets -m (--create-home) by
default, the previous patch added -M option conditionally,
which worked but we see a confused message:
"The home directory `/home/newuser' already exists. Not copying from `/etc/skel'"
So change it to always add the -M option for useradd and let
adduser handle the home creation with its logic.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/libndp')
0 files changed, 0 insertions, 0 deletions