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>
This commit is contained in:
Laurentiu Palcu 2012-06-12 18:17:52 +03:00 committed by Richard Purdie
parent 5518a1a505
commit ca6d07c92c
1 changed files with 2 additions and 2 deletions

View 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