Commit Graph

58 Commits

Author SHA1 Message Date
Yevhen Kyriukha 2d4b261dd3 connman: fix systemd support for connman-* packages.
This patch fixes systemd's postinst/postrm script generation.

(From OE-Core rev: 657c7724966fdbd1236cb003419f01c885bcd570)

Signed-off-by: Yevhen Kyriukha <kirgene@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-22 18:30:04 +01:00
Laurentiu Palcu 95ce63d8bc connman: remove xuser creation, RDEPEND on xuser-account
[YOCTO #4345]

(From OE-Core rev: c10d89b201c3854eaa1f1387a8ad684f57b84174)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-10 09:41:55 +01:00
Jukka Rissanen 61d051c37d connman: Set the VPN client program paths
Automatically finding out the paths to VPN client programs does
not work when configure script is run so set the paths manually.

(From OE-Core rev: 6212703b826f4ba95196d9858a8fc033af623c7c)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-02 22:23:49 +01:00
Christopher Larson 4ecc2bf2a9 connman: use PACKAGECONFIG for WISPr support
(From OE-Core rev: a5161ed721791dbd32b90f1621b3eca92b2a9400)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11 15:55:58 +01:00
Stefan Stanacar e3a5e8e652 connman: replace hardcoded path in init script and systemd service
The connman init script sources a setup file from /usr/lib/connman,
so we end up with no network in qemu multilib enabled images.

The init script it's installed by connman and because wired-setup
it's installed by another package (connman-conf) we can't use
libexecdir here and now (in the init script and systemd service file).

Once libexecdir changes from ${libdir}/${bpn} to something else like
/usr/libexec we could use that instead of ${libdir}/connman.

Changed in v2: - better commit message

[YOCTO #4493]

(From OE-Core rev: fca3a884e9cae13a521d840838eee3c01f0b6acf)

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-16 00:09:49 +03:00
Jukka Rissanen 9fa1590474 connman: Add PPTP support
(From OE-Core rev: 8f1ecefc0c3d86ee6c467a9cc7119be237f74083)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-16 00:09:49 +03:00
Jukka Rissanen 6707538b52 connman: Add L2TP support
(From OE-Core rev: 53cb0d8502d895c47c87130bc9f3e9452cbd04b5)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-16 00:09:49 +03:00
Jukka Rissanen 951aa13825 connman: Add vpnc support
(From OE-Core rev: 6c23a3f66cad6f66b5ca599773d7cc3925fd777d)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-16 00:09:48 +03:00
Jukka Rissanen 48d0f528bb connman: Add OpenVPN support
(From OE-Core rev: 428c15a7b1e9c1ffa90e83a276c367f3f84268d8)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-16 00:09:48 +03:00
Jukka Rissanen 7c41d839f9 connman: Add VPN support
One needs to add following statement into local.conf or distro config

PACKAGECONFIG_append_pn-connman = " openvpn vpnc l2tp pptp"

in order to activate support for these VPN technogies in ConnMan.

(From OE-Core rev: 92da847ed6cea6342bdc86de121534259332a2c3)

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-16 00:09:48 +03:00
Jack Mitchell 9a3d8c214c connman: add PACKAGECONFIG options
- change TIST from being explicitly built, to a PACKAGECONFIG
- move wifi, 3g and bluetooth to PACKAGECONFIG
- change RDEPENDS and RPROVIDES to check PACKAGECONFIG rather
  than DISTRO_FEATURES

(From OE-Core rev: da3f9f7febdc485a356ccb102e0d93cd8f059da7)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29 14:45:10 +01:00
Cristian Iorga 1ebc9047c6 connman: Fix wrong INC_PR reset
Other recipe versions in other layers
may be using connman.inc, so by resetting
INC_PR they go backwards in version.
Set the INC_PR correctly.

(From OE-Core rev: 2d56006cd88233c7f1f15a44f72a04bd0e441b25)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-15 16:08:41 +01:00
Cristian Iorga 510d8b51df connman: added wired setup for systemd
Added support for correctly configuring
wired interface if systemd is the init system.

Fixes [YOCTO #4041].

(From OE-Core rev: ec5530779df23ea25729c7d19c664c05fae5758d)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02 18:08:23 +01:00
Ross Burton 423d68e615 connman: explicitly disable systemd if we don't want it enabled
Otherwise configure will use pkg-config and may find systemd, even though we
don't want it.

(From OE-Core rev: 87fe717009fb2bcd8e5dbdf0236fe715effca89f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-15 01:53:02 +00:00
Cristian Iorga 3ab5908c4e connman: upgrade to 1.12
- 0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch no longer needed;
fix included in package source code

(From OE-Core rev: bd94ab11bbb6501013ed27ecb22685664816986c)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-07 11:14:36 +00:00
Cristian Iorga d1e1f19816 connman: enable connman client
connmanctl is available in a new
package: connman-client

(From OE-Core rev: d926de687ba45fed993af7feba8574b76293b939)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-28 23:15:48 +00:00
Radu Moisan 7c8160ccbe connman: Enabling with systemd
(From OE-Core rev: 352b3e3663fc4ccab2d8240176f4b085db726e82)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-11 14:46:11 +00:00
Ross Burton 20dc0fcd76 connman: be explicit when enabling ofono
(From OE-Core rev: 9c5fa8da28f86e88327356e784f2bb8281da2cca)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-06 14:44:48 +00:00
Martin Jansa fadb407901 PACKAGES_DYNAMIC: use += instead of = in most cases
* to keep ${PN}-locale from
  bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*"

(From OE-Core rev: 73252b16b501c0986b0ca0895e4534895a9ba3db)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19 18:02:26 +01:00
Martin Jansa 33b31640bf PACKAGES_DYNAMIC: use regexp not glob
* bitbake uses PACKAGES_DYNAMIC as regexp
  ^ could make matching faster (and it will be more clear that we're expecting regexp not glob)
  * made all those last '-' optional, use .* (or nothing)

(From OE-Core rev: 2f3ebdfa5f42dae51063b043cc4b0fbe20b40064)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19 18:02:26 +01:00
Ross Burton 8f1f81bea8 connman: remove trailing whitespace
(From OE-Core rev: 554274869e9adfa714bbb87ac817fa5303f70897)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14 09:50:23 +01:00
Paul Eggleton dae1a12af7 connman: add runtime dependency on dbus
connman's sole configuration interface is its dbus interface, so it
really requires it.

(From OE-Core rev: 36c89dab8501a8b2e3c7bb11e8db4ba310a5e41a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-04 12:53:00 +01:00
Saul Wold c6fda196cb connman: Don't start connmand when booting using nfsroot
There was a change to connman, such that it cleans up the
route table for devices at startup, this was causing the
network to get lost and NFS to loose it connection.

[YOCTO #3008]

(From OE-Core rev: d27692e9421206177fd572a79298f5988607ce21)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-02 05:52:11 -07:00
Ross Burton 85ee0a99ea connman: cleanup thanks to new gtk-doc.bbclass
(From OE-Core rev: 8dd09828c75bc1e6f16226c09ea7423a5333ef93)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22 11:42:17 +01:00
Andrei Gherzan 8e0f5026fd connman.inc: Add missing dependencies needed by some tests
Some tests need:
* gobject and optparse module (ex: test-session)
* subprocess and fnctl module (ex: backtrace)
* urllib module (ex: get-proxy-autoconfig)

(From OE-Core rev: 59f4d7537f7662ed82238f0be2626a1940789433)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19 17:18:10 +01:00
Richard Purdie bfd279de32 Convert tab indentation in python functions into four-space
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19 10:24:50 +01:00
Ross Burton c574627261 connman: fix build with automake 1.12
(From OE-Core rev: 292469a70282ed83a8c73b3a5c57d7327ebde793)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17 17:55:59 +01:00
Ross Burton cc646d869f connman: ship the empty plugins directory in the connman package
Otherwise we get a QA warning that /usr/lib/connman/packages isn't shipped.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09 16:59:00 +01:00
Ross Burton be696b35df connman: remove some obviously wrong (circa early-GNOME 2?) directories from FILES
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09 16:59:00 +01:00
Ross Burton 84e5d58122 connman: upgrade to 1.0
Drop patches that have been merged upstream, or are not relevant any more.

License checksums changed because the (C) years were updated.

(From OE-Core rev: d7e7d38a2beded17937e330adf4edb89807bfdd4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21 13:03:05 +01:00
Ross Burton 36f08d973f connman: add compat RPROVIDES for older packaging
wifi, bluetooth and 3g used to be plugins so were packaged separately, but not
anymore.

(From OE-Core rev: be2ce372863ef56a33ad4e4d4ddeec22873a6b8b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21 13:03:05 +01:00
Ross Burton 89eebaa03a connman: rationalise configure options
dnsproxy and ntpd don't exist anymore, and the client is almost entirely useless.

(From OE-Core rev: ed328572c7c286ecc2b27bb89eb8d795eda9bb8c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21 13:03:04 +01:00
Laurentiu Palcu 7f017cab0b connman: bump PR and add some comments
The comments are for informing anyone who wants to change USERADD_PARAMs
to make sure it's in sync with the one in xserver-nodm-init, in order
for rootless X to work.

(From OE-Core rev: c4d0b1c5438039dab07103c151c0c5a76a4c9499)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-13 13:11:23 +01:00
Laurentiu Palcu ca6d07c92c 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>
2012-06-13 11:57:23 +01:00
Ross Burton 5be715a6ac connman: Document the ACL-breaking sed
(From OE-Core rev: 497234875b3a93def8ada2cff99d064f3a11d711)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08 11:43:22 +01:00
Ross Burton 554afde11f connman: respect the 3g feature and enable/disable ofono support
[YOCTO #2357]

(From OE-Core rev: e510f6947f9e14c408b0e5e4f10cea3353b271c2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-08 11:43:21 +01:00
Richard Purdie 18261968c2 connman: Disable tist plugin on powerpc
This plugin doesn't build on powerpc due to powerpc's terminal ioctl defintions
being incompatible with assumptions being made by this module. Until someone has
need and can test this on powerpc, disabling is the safest option.

(From OE-Core rev: 672846b0262add037daa2c9e434fe09388b58da8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-07 16:42:48 +01:00
Koen Kooi 2ee0d3f054 connman: enable TI shared transport plugin when wifi or bluetooth are requested
This plugin manages the firmware loading for the TI wl12xx series of bluetooth/wifi/fm chips.

The double --enable-tist when both bluetooth and wireless are enabled is ugly, but harmless

The background on the plugin: https://bugs.meego.com/show_bug.cgi?id=8418

(From OE-Core rev: 22254a32f05e9212411216bf1a4e48fd86b9c3ef)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-04 16:45:00 +01:00
Lianhao Lu 73aab2c289 connman: add ofono dependency.
Added dependency to ofono because we always enable ofono plug-in.

We did this because the 1.2 release cycle is coming to an end. We should
use PACKAGECONFIG in 1.3.

This is part of the 1.2 bug fixing [YOCTO #2216].

(From OE-Core rev: bfd6bf92ddf371d9be937ec0605e08667749fd88)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-11 12:08:13 +01:00
Lianhao Lu a405ca246e connman: Fixed multilib support.
1. Corrected the package content of connman-test.

This is part of the bug fixing [YOCTO #2216].

(From OE-Core rev: 4df39d673156cc63b94531515d8f92ca4d0da77f)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>

Removed ofono addtion - sgw

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-06 01:12:47 +01:00
Richard Purdie b1aeaa8b0d meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)
sed \
 -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
 -i `grep -ril bb.data.expand *`

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-05 10:23:53 -08:00
Otavio Salvador aa373931fa connman: disable 'alg-test' building
'alg-test' requires 'linux/if_alg.h' header enforcing a dependency on
linux-libc-headers 2.6.39 or newer.

(From OE-Core rev: 507bd087375d2c0ac84e0c51196e2fe718aed339)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-19 09:29:17 +00:00
Otavio Salvador 406593fdf1 connman: improve packaging
The scripts being included on connman-scripts was the test utility and
thus we are moving them with the rest of test utilities in
'connman-tests'. A runtime dependency on python-dbus were missing as
well as those scripts uses it.

As no dhclient, resolvconf and udhcpc plugins are being generated the
respective dependency map entries were also removed.

(From OE-Core rev: 6f9594cddefe74ce7381e4fa2a68cb8a542d6d2e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-13 12:28:11 +00:00
Otavio Salvador 488e8ba019 connman: avoid checking for linux/if_alg.h header
Disable building of 'alg-test' and checking for if_alg.h header.

(From OE-Core rev: db692fd5706eab9bfd94c115591d1411cf8e196e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-10 00:04:03 +00:00
Otavio Salvador af7fbd6083 connman: disable ntp support
OE-Core does not provide ntpd at this moment and as there's no known
user of this plugin at this moment we are disabling it.

[YOCTO #1817]

(From OE-Core rev: c67d7c9215bd8af2b5dcc4a72b6edf00157724d5)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-09 19:18:24 +00:00
Otavio Salvador 1288313411 connman: update to 0.78
Updates the package to 0.78 bringing changes done on meta-oe and extra
cleanups as:

* xtables_version.patch: removed as it has been merged upstream

* use sed to fix dbus access policy

* remove build depends on dhclient as connman has an internal client
  now

* make wifi and bluetooth building optional

* add ppp in depends that is used by some plugins

* add ntp in depends and enable ntp plugin

* package tools

* enable fake plugin

This uses PR as "r1" since it was previously available on meta-oe.

(From OE-Core rev: 4215b2fb04b3ed61e8e1cf0847639cf6fe31d337)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-09 17:46:34 +00:00
Richard Purdie c8dee9b92d Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:

sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-10 11:51:19 +00:00
Joshua Lock a1c15cb364 connman: split scripts into separate package
The connman scripts are useless without a Python interpreter so split
them into a separate package and add Python to its RDEPENDS.

(From OE-Core rev: 281510acd0ee3221dd804d7d9de567be2be675f4)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-08 14:32:55 +00:00
Saul Wold 1e9c1d570e 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>
2011-11-02 08:58:02 +00:00
Richard Purdie 24c803c913 connman: Drop hal dependency and udev configure option, neither is used
(From OE-Core rev: d5be373b9d967a58d33e71e440daaaca6444987a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-10 10:00:06 +01:00