summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2012-06-12 18:17:52 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-13 11:57:23 +0100
commitca6d07c92c50a52d05aa960b7929184413780714 (patch)
treed10352ac00bcda4d5afef3ca6f57848c821e3fa5
parent5518a1a505b13e27544daad866aa00e1f7023fa6 (diff)
downloadpoky-ca6d07c92c50a52d05aa960b7929184413780714.tar.gz
poky-ca6d07c92c50a52d05aa960b7929184413780714.tar.bz2
poky-ca6d07c92c50a52d05aa960b7929184413780714.zip
connman: make useradd parameters consistent with rootless X
Both connman and rootless X share the same xuser. However, useradd parameters are not consistent and if connman runs useradd first, rootless X will be broken. [Yocto #2467] (From OE-Core rev: 28087e7a9ddfd2d118aa907a29ed522bb8cbfc16) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/connman/connman.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 4fb7b434a6..eb174c5d34 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -47,8 +47,8 @@ INITSCRIPT_NAME = "connman"
INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
USERADD_PACKAGES = "${PN}"
-USERADD_PARAM_${PN} = "--system --no-create-home \
- --shell /bin/false --groups video,tty,audio \
+USERADD_PARAM_${PN} = "--create-home \
+ --groups video,tty,audio \
--user-group xuser"
inherit autotools pkgconfig update-rc.d useradd