aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-10-19 13:00:57 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-10-25 15:31:17 +0200
commitccec146c5218e27688262dc86c659301d8e1dee6 (patch)
tree7280f0e4bfb6ddaefcf6d6aa15665572e23430e1 /meta-oe/recipes-connectivity
parentdd2748da79385e1b7280c0034f6128aabfd5a7dc (diff)
downloadmeta-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')
0 files changed, 0 insertions, 0 deletions