[oe-commits] Laurentiu Palcu : connman: make useradd parameters consistent with rootless X
git at git.openembedded.org
git at git.openembedded.org
Wed Jun 13 10:57:29 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 28087e7a9ddfd2d118aa907a29ed522bb8cbfc16
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=28087e7a9ddfd2d118aa907a29ed522bb8cbfc16
Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date: Tue Jun 12 18:17:52 2012 +0300
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]
Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
---
meta/recipes-connectivity/connman/connman.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 4fb7b43..eb174c5 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
More information about the Openembedded-commits
mailing list