aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman
AgeCommit message (Collapse)Author
2013-05-20connman: replace hardcoded path in init script and systemd serviceStefan Stanacar
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 master 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-04-15connman: Fix wrong INC_PR resetCristian Iorga
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. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02connman: added wired setup for systemdCristian Iorga
Added support for correctly configuring wired interface if systemd is the init system. Fixes [YOCTO #4041]. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22connman-conf: Avoid appending IPv4 addressJukka Rissanen
If run more than once, the IP addresses would be appended to IPv4 variable. Avoid that by rewriting the IPv4 always. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22connman-conf: Move the setup script into /usr/lib/connmanJukka Rissanen
The /etc/connman is not suitable for the setup script. There are other connman related scripts in /usr/lib/connman so moving the wired setup script there. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-15connman: explicitly disable systemd if we don't want it enabledRoss Burton
Otherwise configure will use pkg-config and may find systemd, even though we don't want it. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-14build-appliance-image: fix lost net connectivity after restartCristian Iorga
The issue is that an ethernet config file is removed without proper checks in place (rm -f), which triggers an error and makes the connman startup script to fail. The file is now removed with proper checks in place. Fixes [YOCTO #4003]. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-07connman: Wired inteface provisioned via qemuCristian Iorga
- connman-conf package re-implemented - connman 1.12 introduces provisioning for wired interfaces also; - wired interface settings are read from kernel cmdline if present; - after that are passed to connman as a config file - for BA, this is not needed, as BA will have a network infrastructure to work with. Fixes [YOCTO #3227]; Fixes [YOCTO #3804]; Fixes [YOCTO #3843]. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-07connman: upgrade to 1.12Cristian Iorga
- 0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch no longer needed; fix included in package source code Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-01connman: add header to define in6_addrSaul Wold
Needed because the 3.8 if_bridge.h uses in6_addr before it's defined Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-28connman: enable connman clientCristian Iorga
connmanctl is available in a new package: connman-client Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-02-11connman: Enabling with systemdRadu Moisan
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-06connman: be explicit when enabling ofonoRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01connman-gnome: Add DEPENDS on intltool-nativeMing Liu
When 'bitbake -c configure connman-gnome' is executed from scratch, it fails with syntax error parsing `IT_PROG_INTLTOOL(0.35.0)' in configure.in. This is caused by its definition is not included into aclocal.m4 Adding intltool-native to DEPENDS is gonna fix it. [YOCTO #3815] [ CQID: WIND00401118 ] Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-16connman: upgrade to 1.10Cristian Iorga
0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch - adapted to the new version 0001-timezone.c-If-there-is-no-d_type-support-use-fstatat.patch - patch removed (it is included in the new version) inet-fix-ip-cleanup-functions.patch: added - fix for ip cleanup functions Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-16connman-conf: configures connman in qemu machinesCristian Iorga
For qemu machines, connman should not configure virtual wired interfaces. Wired interfaces (eth0) are assigned static IP addresses by the virtual machine manager (qemu). This packages places the eth0 interface in a list of blacklisted interfaces, forbiding connman administering wired interfaces for qemu machines. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-16Removed undisplayed picture from connman-gnomeAndrei Dinu
- removed the picture that doesn't display in the connman-gnome "about" section. - updated the recipe to use the patch when running bitbake - created a folder with patches named "connman-gnome", the same as for connman. Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-15connman: fixed init script so connman can runs over nfsFelipe F. Tonello
Adding -I to the arguments, connmand will ignore the eth interface, so if you are using nfs it will not be disconnected. OBS: it might not work if using more than one eth interface. But it's better than not using connman with nfs at all. Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-19PACKAGES_DYNAMIC: use += instead of = in most casesMartin Jansa
* to keep ${PN}-locale from bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19PACKAGES_DYNAMIC: use regexp not globMartin Jansa
* 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) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-13connman: remove trailing whitespaceRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-03connman: add runtime dependency on dbusPaul Eggleton
connman's sole configuration interface is its dbus interface, so it really requires it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-09-02connman: Don't start connmand when booting using nfsrootSaul Wold
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] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19connman: upgrade to 1.4Constantin Musca
The removed patch is included in connman 1.4. Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-20connman: cleanup thanks to new gtk-doc.bbclassRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-07-19connman: fix crashes on startup on PPC/MIPSRoss Burton
It appears that when there is no existing connman state there is memory corruption which causes free() on MIPS/PPC to abort. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19connman: Add patches to fix connman on fs with no d_type supportAndrei Gherzan
When there is not d_type avalaible on filesystem, fstatat (stat) can be used to check if the path is a directory. storage.c and timezone.c were modified accordingly. Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19connman.inc: Add missing dependencies needed by some testsAndrei Gherzan
Some tests need: * gobject and optparse module (ex: test-session) * subprocess and fnctl module (ex: backtrace) * urllib module (ex: get-proxy-autoconfig) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19connman: Update to version 1.3Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17connman: fix build with automake 1.12Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-11connman-gnome: remove unused patches, they were all merged upstreamRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09connman: ship the empty plugins directory in the connman packageRoss Burton
Otherwise we get a QA warning that /usr/lib/connman/packages isn't shipped.
2012-07-09connman: remove some obviously wrong (circa early-GNOME 2?) directories from ↵Ross Burton
FILES
2012-06-21connman-gnome: upgrade to 0.7, which works with connman 1.0Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21connman-gnome: clean up runtime dependenciesRoss Burton
There is no need to recommend Python as it isn't used, and specifying the connman plugins should be done by the image. Add a dependency on connman itself as otherwise connman-gnome doesn't do much. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21connman-gnome: fix build depends (Yocto #2556)Ross Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21connman: upgrade to 1.0Ross Burton
Drop patches that have been merged upstream, or are not relevant any more. License checksums changed because the (C) years were updated. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21connman: add compat RPROVIDES for older packagingRoss Burton
wifi, bluetooth and 3g used to be plugins so were packaged separately, but not anymore. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21connman: rationalise configure optionsRoss Burton
dnsproxy and ntpd don't exist anymore, and the client is almost entirely useless. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-13connman: bump PR and add some commentsLaurentiu Palcu
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. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-06-13connman: make useradd parameters consistent with rootless XLaurentiu Palcu
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>
2012-06-08connman: Document the ACL-breaking sedRoss Burton
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-08connman: respect the 3g feature and enable/disable ofono supportRoss Burton
[YOCTO #2357] 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-05connman: just give xuser the extra rights it needsRoss Burton
2012-05-07connman: Disable tist plugin on powerpcRichard Purdie
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-04connman: enable TI shared transport plugin when wifi or bluetooth are requestedKoen Kooi
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 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-24connman: backport test script fixesOtavio Salvador
Those fixes are required to get the test scripts to work with current 0.79 DBus API. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-04-24connman: Fix linking with gold linkerKhem Raj
Fixes errors like below /home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld: error: hidden symbol '__start___debug' is not defined locally /home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld: error: hidden symbol '__stop___debug' is not defined locally collect2: ld returned 1 exit status make[1]: *** [plugins/loopback.la] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-04-16connman-gnome: fix segfault on connectPaul Eggleton
Fixes a segfault in the properties application when connecting to a WiFi service succeeds. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>