]> code.ossystems Code Review - openembedded-core.git/commit
connman: Use useradd to add the xuser for DBus
authorSaul Wold <sgw@linux.intel.com>
Thu, 27 Oct 2011 14:15:36 +0000 (16:15 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:27:11 +0000 (16:27 +0000)
commit835ab34adb6acf562e37db99a1dd24f7b8bd95ec
treedef7586000cd24eab7e0663a9d218aa7ab292b18
parent26573a84583793f64979100c2b89a95146d38dd1
connman: Use useradd to add the xuser for DBus

Connmand needs to start as the xuser as defined in the dbus
configuration and needs to share this with rootless X. Since
it's possible for connmand to run on a sytem without rootless
X we still need to create the user here.

Useradd will fail gracefully if the user already exists.

Fixes: [YOCTO #1699]
(From OE-Core rev: 8139ac9284031e00d6b268210b04b57670d9268a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Conflicts:

meta/recipes-connectivity/connman/connman_0.75.bb
meta/recipes-connectivity/connman/connman.inc
meta/recipes-connectivity/connman/connman_0.75.bb