summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman
Commit message (Collapse)AuthorAgeFilesLines
* connman: replace hardcoded path in init script and systemd serviceStefan Stanacar2013-05-222-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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) (From OE-Core rev: d620e5376c10bc5ff1aa551be4a7d1d635a760c3) 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>
* connman: Fix wrong INC_PR resetCristian Iorga2013-04-151-1/+1
| | | | | | | | | | | | 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>
* connman: added wired setup for systemdCristian Iorga2013-04-021-1/+6
| | | | | | | | | | | | 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>
* connman-conf: Avoid appending IPv4 addressJukka Rissanen2013-03-221-1/+1
| | | | | | | | | If run more than once, the IP addresses would be appended to IPv4 variable. Avoid that by rewriting the IPv4 always. (From OE-Core rev: da682e752e351e5bb7636ee187db3eabc208c177) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-conf: Move the setup script into /usr/lib/connmanJukka Rissanen2013-03-222-5/+7
| | | | | | | | | | 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. (From OE-Core rev: 858ad53aee9ef5848c09d76c0e6bf464bc31d30e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: explicitly disable systemd if we don't want it enabledRoss Burton2013-03-151-1/+1
| | | | | | | | | | | 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>
* build-appliance-image: fix lost net connectivity after restartCristian Iorga2013-03-151-1/+1
| | | | | | | | | | | | | | | | 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]. (From OE-Core rev: d9349e6e28cef107ad8bd00767ceba4d8aa464dd) 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>
* connman: Wired inteface provisioned via qemuCristian Iorga2013-03-075-10/+37
| | | | | | | | | | | | | | | | | | | | | | - 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]. (From OE-Core rev: 5711e0cf88fac0de8a5317b16a287b335c827c8f) 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>
* connman: upgrade to 1.12Cristian Iorga2013-03-073-59/+3
| | | | | | | | | | | - 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>
* connman: add header to define in6_addrSaul Wold2013-03-012-1/+22
| | | | | | | | | Needed because the 3.8 if_bridge.h uses in6_addr before it's defined (From OE-Core rev: 5c4979b93855a57334fac61455b7563e4a43f8ab) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: enable connman clientCristian Iorga2013-02-281-3/+6
| | | | | | | | | | | 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>
* connman: Enabling with systemdRadu Moisan2013-02-111-3/+8
| | | | | | | | | | (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>
* connman: be explicit when enabling ofonoRoss Burton2013-02-061-1/+1
| | | | | | | (From OE-Core rev: 9c5fa8da28f86e88327356e784f2bb8281da2cca) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: Add DEPENDS on intltool-nativeMing Liu2013-02-011-1/+1
| | | | | | | | | | | | | | | | 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 ] (From OE-Core rev: 283dd547b5ed657f871b9330ff4d8d5b3afd1e32) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: upgrade to 1.10Cristian Iorga2013-01-164-80/+67
| | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: e0cca947fc87c8f7a6d2a8fd719c87d56dd52941) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-conf: configures connman in qemu machinesCristian Iorga2013-01-162-0/+21
| | | | | | | | | | | | | | | 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. (From OE-Core rev: cfd9ab0eff27a59b8b9e750a01565e2e7c94e801) 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>
* Removed undisplayed picture from connman-gnomeAndrei Dinu2013-01-162-1/+37
| | | | | | | | | | | | | | - 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. (From OE-Core rev: 56c7ce56a1c9870df08821c6f18fac3713b1b4cf) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: fixed init script so connman can runs over nfsFelipe F. Tonello2013-01-151-2/+4
| | | | | | | | | | | | | | 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. (From OE-Core rev: 6080d1dc719c38fd97c2abd38e0ad938fbf6f452) Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PACKAGES_DYNAMIC: use += instead of = in most casesMartin Jansa2012-10-191-1/+1
| | | | | | | | | | * 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>
* PACKAGES_DYNAMIC: use regexp not globMartin Jansa2012-10-191-1/+1
| | | | | | | | | | | * 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>
* connman: remove trailing whitespaceRoss Burton2012-09-141-1/+1
| | | | | | | | (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>
* connman: add runtime dependency on dbusPaul Eggleton2012-09-041-1/+2
| | | | | | | | | | | 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>
* connman: Don't start connmand when booting using nfsrootSaul Wold2012-09-022-4/+3
| | | | | | | | | | | | | 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>
* connman: upgrade to 1.4Constantin Musca2012-08-192-42/+4
| | | | | | | | | | The removed patch is included in connman 1.4. (From OE-Core rev: a1f16a0f3a015628f3d2d02d980311537a3a2c00) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: cleanup thanks to new gtk-doc.bbclassRoss Burton2012-07-221-3/+2
| | | | | | | (From OE-Core rev: 8dd09828c75bc1e6f16226c09ea7423a5333ef93) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: fix crashes on startup on PPC/MIPSRoss Burton2012-07-192-2/+40
| | | | | | | | | | It appears that when there is no existing connman state there is memory corruption which causes free() on MIPS/PPC to abort. (From OE-Core rev: 4d79eb246d2d3aa9939882ae551db29b537a13df) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Add patches to fix connman on fs with no d_type supportAndrei Gherzan2012-07-193-2/+114
| | | | | | | | | | | 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. (From OE-Core rev: 09203299c666791ce35d5a897fd1aa2b0d281dd6) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman.inc: Add missing dependencies needed by some testsAndrei Gherzan2012-07-191-2/+2
| | | | | | | | | | | | 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>
* connman: Update to version 1.3Andrei Gherzan2012-07-191-2/+2
| | | | | | | (From OE-Core rev: 016207845450fc4e508557efafb0d4a7650be784) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-14/+13
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: fix build with automake 1.12Ross Burton2012-07-171-1/+5
| | | | | | | | (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>
* connman-gnome: remove unused patches, they were all merged upstreamRoss Burton2012-07-117-2242/+0
| | | | | | | (From OE-Core rev: bf134eaf752cd5db6cce79ad4c1ae0f25d46b08e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: ship the empty plugins directory in the connman packageRoss Burton2012-07-091-2/+3
| | | | | | Otherwise we get a QA warning that /usr/lib/connman/packages isn't shipped. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: remove some obviously wrong (circa early-GNOME 2?) directories from ↵Ross Burton2012-07-091-4/+1
| | | | | | FILES Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: upgrade to 0.7, which works with connman 1.0Ross Burton2012-06-212-27/+19
| | | | | | | (From OE-Core rev: 8206c326fc8c797f734adbb181bf4e793e98b020) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: clean up runtime dependenciesRoss Burton2012-06-211-13/+2
| | | | | | | | | | | 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. (From OE-Core rev: f399346a1806385458536a8401a48fbeeaf64d24) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: fix build depends (Yocto #2556)Ross Burton2012-06-211-2/+2
| | | | | | | (From OE-Core rev: 78e0663dd420782836a137ced931190972ed2c23) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: upgrade to 1.0Ross Burton2012-06-216-182/+5
| | | | | | | | | | | 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>
* connman: add compat RPROVIDES for older packagingRoss Burton2012-06-211-4/+17
| | | | | | | | | | 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>
* connman: rationalise configure optionsRoss Burton2012-06-211-4/+2
| | | | | | | | | 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>
* connman: bump PR and add some comments1.3_M1.rc11.3_M1.final1.3_M1Laurentiu Palcu2012-06-132-1/+5
| | | | | | | | | | | 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>
* connman: make useradd parameters consistent with rootless XLaurentiu Palcu2012-06-131-2/+2
| | | | | | | | | | | | | 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>
* connman: Document the ACL-breaking sedRoss Burton2012-06-081-0/+3
| | | | | | | | (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>
* connman: respect the 3g feature and enable/disable ofono supportRoss Burton2012-06-082-3/+3
| | | | | | | | | | [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>
* connman: just give xuser the extra rights it needsRoss Burton2012-06-051-9/+5
|
* connman: Disable tist plugin on powerpcRichard Purdie2012-05-071-2/+5
| | | | | | | | | | 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>
* connman: enable TI shared transport plugin when wifi or bluetooth are requestedKoen Kooi2012-05-042-3/+3
| | | | | | | | | | | | | 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>
* connman: backport test script fixesOtavio Salvador2012-04-263-1/+108
| | | | | | | | | | Those fixes are required to get the test scripts to work with current 0.79 DBus API. (From OE-Core rev: 0d6abd0ff634604cdde2b80f625d6ca2a015948a) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Fix linking with gold linkerKhem Raj2012-04-262-1/+37
| | | | | | | | | | | | | | | | 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 (From OE-Core rev: 0bc79de634841c57868be3d7d8b0fd8bf47ccc18) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: fix segfault on connectPaul Eggleton2012-04-162-2/+33
| | | | | | | | | | Fixes a segfault in the properties application when connecting to a WiFi service succeeds. (From OE-Core rev: 767ec69e6ca633e5bde604241a598147075b1ac0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>