summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/useradd_base.bbclass2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/useradd_base.bbclass b/meta/classes/useradd_base.bbclass
index 0d81accd1a..f4dc7134cb 100644
--- a/meta/classes/useradd_base.bbclass
+++ b/meta/classes/useradd_base.bbclass
@@ -17,7 +17,6 @@ perform_groupadd () {
17 local groupname=`echo "$opts" | awk '{ print $NF }'` 17 local groupname=`echo "$opts" | awk '{ print $NF }'`
18 local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" 18 local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"
19 if test "x$group_exists" = "x"; then 19 if test "x$group_exists" = "x"; then
20 opts=`echo $opts | sed s/\'/\"/g`
21 eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO groupadd \$opts\" || true 20 eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO groupadd \$opts\" || true
22 group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" 21 group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"
23 if test "x$group_exists" = "x"; then 22 if test "x$group_exists" = "x"; then
@@ -35,7 +34,6 @@ perform_useradd () {
35 local username=`echo "$opts" | awk '{ print $NF }'` 34 local username=`echo "$opts" | awk '{ print $NF }'`
36 local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" 35 local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"
37 if test "x$user_exists" = "x"; then 36 if test "x$user_exists" = "x"; then
38 opts=`echo $opts | sed s/\'/\"/g`
39 eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO useradd \$opts\" || true 37 eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO useradd \$opts\" || true
40 user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" 38 user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"
41 if test "x$user_exists" = "x"; then 39 if test "x$user_exists" = "x"; then