summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/adduser/adduser_3.115.bb
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-perl/recipes-perl/adduser/adduser_3.115.bb
parentdd2748da79385e1b7280c0034f6128aabfd5a7dc (diff)
downloadmeta-openembedded-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-perl/recipes-perl/adduser/adduser_3.115.bb')
-rw-r--r--meta-perl/recipes-perl/adduser/adduser_3.115.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-perl/recipes-perl/adduser/adduser_3.115.bb b/meta-perl/recipes-perl/adduser/adduser_3.115.bb
index 312bad8d8..81068d600 100644
--- a/meta-perl/recipes-perl/adduser/adduser_3.115.bb
+++ b/meta-perl/recipes-perl/adduser/adduser_3.115.bb
@@ -7,7 +7,7 @@ LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://debian/copyright;md5=caed49ab166f22ef31bf1127f558d0ef" 7LIC_FILES_CHKSUM = "file://debian/copyright;md5=caed49ab166f22ef31bf1127f558d0ef"
8 8
9SRC_URI = "http://ftp.de.debian.org/debian/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \ 9SRC_URI = "http://ftp.de.debian.org/debian/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
10 file://adduser-add-M-option-for-useradd-when-no-create-home.patch \ 10 file://adduser-add-M-option-for-useradd.patch \
11" 11"
12 12
13SRC_URI[md5sum] = "6bb6d93922d281f1b56393a53f8ce5fd" 13SRC_URI[md5sum] = "6bb6d93922d281f1b56393a53f8ce5fd"