]> code.ossystems Code Review - openembedded-core.git/commitdiff
connman: make useradd parameters consistent with rootless X
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 12 Jun 2012 15:17:52 +0000 (18:17 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Jun 2012 10:50:04 +0000 (11:50 +0100)
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]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
meta/recipes-connectivity/connman/connman.inc

index 4fb7b434a677628d88f48be9675b8c6f5c5dcbb7..eb174c5d340b92ea24d0af6cab3af15e07cb7164 100644 (file)
@@ -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