* [PATCH 0/2] Connman upgrade and qemu ethernet provisioning
@ 2013-03-01 16:48 Cristian Iorga
2013-03-01 16:48 ` [PATCH 1/2] connman: upgrade to 1.12 Cristian Iorga
2013-03-01 16:48 ` [PATCH 2/2] connman: Wired inteface provisioned via qemu Cristian Iorga
0 siblings, 2 replies; 5+ messages in thread
From: Cristian Iorga @ 2013-03-01 16:48 UTC (permalink / raw)
To: openembedded-core
Connman 1.12 features Ethernet provisioning
As such, qemu machines will use it to prevent connman to
loose connectivity if no network infrastructure is present.
Fixes Yocto bugs YB3227, YB3804, YB3843.
Cristian Iorga (2):
connman: upgrade to 1.12
connman: Wired inteface provisioned via qemu
meta/recipes-connectivity/connman/connman-conf.bb | 17 +++---
.../connman/connman-conf/qemuall/main.conf | 3 --
.../connman/connman-conf/qemuall/wired-setup | 16 ++++++
.../connman/connman-conf/qemuall/wired.config | 8 +++
meta/recipes-connectivity/connman/connman.inc | 2 +-
...If-there-is-no-d_type-support-use-fstatat.patch | 55 --------------------
meta/recipes-connectivity/connman/connman/connman | 3 ++
.../connman/{connman_1.10.bb => connman_1.12.bb} | 5 +-
8 files changed, 40 insertions(+), 69 deletions(-)
delete mode 100644 meta/recipes-connectivity/connman/connman-conf/qemuall/main.conf
create mode 100644 meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup
create mode 100644 meta/recipes-connectivity/connman/connman-conf/qemuall/wired.config
delete mode 100644 meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch
rename meta/recipes-connectivity/connman/{connman_1.10.bb => connman_1.12.bb} (72%)
--
1.7.10.4
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 1/2] connman: upgrade to 1.12 2013-03-01 16:48 [PATCH 0/2] Connman upgrade and qemu ethernet provisioning Cristian Iorga @ 2013-03-01 16:48 ` Cristian Iorga 2013-03-01 23:46 ` Saul Wold 2013-03-01 16:48 ` [PATCH 2/2] connman: Wired inteface provisioned via qemu Cristian Iorga 1 sibling, 1 reply; 5+ messages in thread From: Cristian Iorga @ 2013-03-01 16:48 UTC (permalink / raw) To: openembedded-core - 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> --- meta/recipes-connectivity/connman/connman.inc | 2 +- ...If-there-is-no-d_type-support-use-fstatat.patch | 55 -------------------- .../connman/{connman_1.10.bb => connman_1.12.bb} | 5 +- 3 files changed, 3 insertions(+), 59 deletions(-) delete mode 100644 meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch rename meta/recipes-connectivity/connman/{connman_1.10.bb => connman_1.12.bb} (72%) diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index db4d26c..04b21f7 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc @@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \ ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ " -INC_PR = "r18" +INC_PR = "r0" TIST = "--enable-tist" TIST_powerpc = "" diff --git a/meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch b/meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch deleted file mode 100644 index 7315545..0000000 --- a/meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 7007ef32a959ac4717c19339a24fd90a68638a19 Mon Sep 17 00:00:00 2001 -From: Andrei Gherzan <andrei@gherzan.ro> -Date: Tue, 17 Jul 2012 16:07:17 +0300 -Subject: [PATCH V3 2/2] storage.c: If there is no d_type support use - fstatat() - -This is useful for filesystems where d_type is always DT_UNKNOWN. -In this case use fstatat() function. - -Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> -Signed-off-by: Constantin Musca <constantinx.musca@intel.com> -Upstream-Status: Submitted - ---- - src/storage.c | 19 +++++++++++++++++++ - 1 file changed, 19 insertions(+) - -Index: git/src/storage.c -=================================================================== ---- git.orig/src/storage.c -+++ git/src/storage.c -@@ -193,7 +193,6 @@ gchar **connman_storage_get_services() - - switch (d->d_type) { - case DT_DIR: -- case DT_UNKNOWN: - /* - * If the settings file is not found, then - * assume this directory is not a services dir. -@@ -203,6 +202,25 @@ gchar **connman_storage_get_services() - ret = stat(str, &buf); - g_free(str); - if (ret < 0) -+ continue; -+ -+ g_string_append_printf(result, "%s/", d->d_name); -+ break; -+ case DT_UNKNOWN: -+ /* -+ * If there is no d_type support use fstatat() -+ * to check if directory -+ */ -+ ret = fstatat(dirfd(dir), d->d_name, &buf, 0); -+ if (ret < 0) -+ continue; -+ if (!(buf.st_mode & S_IFDIR)) -+ continue; -+ str = g_strdup_printf("%s/%s/settings", STORAGEDIR, -+ d->d_name); -+ ret = stat(str, &buf); -+ g_free(str); -+ if (ret < 0) - continue; - - g_string_append_printf(result, "%s/", d->d_name); diff --git a/meta/recipes-connectivity/connman/connman_1.10.bb b/meta/recipes-connectivity/connman/connman_1.12.bb similarity index 72% rename from meta/recipes-connectivity/connman/connman_1.10.bb rename to meta/recipes-connectivity/connman/connman_1.12.bb index 10d5255..5da50fe 100644 --- a/meta/recipes-connectivity/connman/connman_1.10.bb +++ b/meta/recipes-connectivity/connman/connman_1.12.bb @@ -1,12 +1,11 @@ require connman.inc -# 1.10 tag -SRCREV = "3bda76eb442c9395db1dba17352c3e78376671cc" +# 1.12 tag +SRCREV = "8397cbbc0a79d39cf3b1880f4fd3f3405b6bc6ad" SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \ file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \ file://add_xuser_dbus_permission.patch \ file://connman \ - file://0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch \ file://inet-fix-ip-cleanup-functions.patch" S = "${WORKDIR}/git" PR = "${INC_PR}.0" -- 1.7.10.4 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] connman: upgrade to 1.12 2013-03-01 16:48 ` [PATCH 1/2] connman: upgrade to 1.12 Cristian Iorga @ 2013-03-01 23:46 ` Saul Wold 2013-03-04 6:09 ` Iorga, Cristian 0 siblings, 1 reply; 5+ messages in thread From: Saul Wold @ 2013-03-01 23:46 UTC (permalink / raw) To: Cristian Iorga; +Cc: openembedded-core On 03/01/2013 08:48 AM, Cristian Iorga wrote: > - 0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch no longer needed; > fix included in package source code > Does this also address the netinet/in.h issue that I recently added for 1.10 and the 3.8 Kernel? Ultimately this patch will need to be rebased based on master. Sau! > Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> > --- > meta/recipes-connectivity/connman/connman.inc | 2 +- > ...If-there-is-no-d_type-support-use-fstatat.patch | 55 -------------------- > .../connman/{connman_1.10.bb => connman_1.12.bb} | 5 +- > 3 files changed, 3 insertions(+), 59 deletions(-) > delete mode 100644 meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch > rename meta/recipes-connectivity/connman/{connman_1.10.bb => connman_1.12.bb} (72%) > > diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc > index db4d26c..04b21f7 100644 > --- a/meta/recipes-connectivity/connman/connman.inc > +++ b/meta/recipes-connectivity/connman/connman.inc > @@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \ > ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ > " > > -INC_PR = "r18" > +INC_PR = "r0" > > TIST = "--enable-tist" > TIST_powerpc = "" > diff --git a/meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch b/meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch > deleted file mode 100644 > index 7315545..0000000 > --- a/meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch > +++ /dev/null > @@ -1,55 +0,0 @@ > -From 7007ef32a959ac4717c19339a24fd90a68638a19 Mon Sep 17 00:00:00 2001 > -From: Andrei Gherzan <andrei@gherzan.ro> > -Date: Tue, 17 Jul 2012 16:07:17 +0300 > -Subject: [PATCH V3 2/2] storage.c: If there is no d_type support use > - fstatat() > - > -This is useful for filesystems where d_type is always DT_UNKNOWN. > -In this case use fstatat() function. > - > -Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> > -Signed-off-by: Constantin Musca <constantinx.musca@intel.com> > -Upstream-Status: Submitted > - > ---- > - src/storage.c | 19 +++++++++++++++++++ > - 1 file changed, 19 insertions(+) > - > -Index: git/src/storage.c > -=================================================================== > ---- git.orig/src/storage.c > -+++ git/src/storage.c > -@@ -193,7 +193,6 @@ gchar **connman_storage_get_services() > - > - switch (d->d_type) { > - case DT_DIR: > -- case DT_UNKNOWN: > - /* > - * If the settings file is not found, then > - * assume this directory is not a services dir. > -@@ -203,6 +202,25 @@ gchar **connman_storage_get_services() > - ret = stat(str, &buf); > - g_free(str); > - if (ret < 0) > -+ continue; > -+ > -+ g_string_append_printf(result, "%s/", d->d_name); > -+ break; > -+ case DT_UNKNOWN: > -+ /* > -+ * If there is no d_type support use fstatat() > -+ * to check if directory > -+ */ > -+ ret = fstatat(dirfd(dir), d->d_name, &buf, 0); > -+ if (ret < 0) > -+ continue; > -+ if (!(buf.st_mode & S_IFDIR)) > -+ continue; > -+ str = g_strdup_printf("%s/%s/settings", STORAGEDIR, > -+ d->d_name); > -+ ret = stat(str, &buf); > -+ g_free(str); > -+ if (ret < 0) > - continue; > - > - g_string_append_printf(result, "%s/", d->d_name); > diff --git a/meta/recipes-connectivity/connman/connman_1.10.bb b/meta/recipes-connectivity/connman/connman_1.12.bb > similarity index 72% > rename from meta/recipes-connectivity/connman/connman_1.10.bb > rename to meta/recipes-connectivity/connman/connman_1.12.bb > index 10d5255..5da50fe 100644 > --- a/meta/recipes-connectivity/connman/connman_1.10.bb > +++ b/meta/recipes-connectivity/connman/connman_1.12.bb > @@ -1,12 +1,11 @@ > require connman.inc > > -# 1.10 tag > -SRCREV = "3bda76eb442c9395db1dba17352c3e78376671cc" > +# 1.12 tag > +SRCREV = "8397cbbc0a79d39cf3b1880f4fd3f3405b6bc6ad" > SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \ > file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \ > file://add_xuser_dbus_permission.patch \ > file://connman \ > - file://0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch \ > file://inet-fix-ip-cleanup-functions.patch" > S = "${WORKDIR}/git" > PR = "${INC_PR}.0" > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] connman: upgrade to 1.12 2013-03-01 23:46 ` Saul Wold @ 2013-03-04 6:09 ` Iorga, Cristian 0 siblings, 0 replies; 5+ messages in thread From: Iorga, Cristian @ 2013-03-04 6:09 UTC (permalink / raw) To: Saul Wold; +Cc: openembedded-core@lists.openembedded.org Hi Saul, Momentarily no. This was tested on kernel 3.4 only, but I will integrate that patch and re-test with kernel 3.8. Regards, Cristian. -----Original Message----- From: Saul Wold [mailto:sgw@linux.intel.com] Sent: Saturday, March 02, 2013 1:46 AM To: Iorga, Cristian Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 1/2] connman: upgrade to 1.12 On 03/01/2013 08:48 AM, Cristian Iorga wrote: > - 0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch no > longer needed; fix included in package source code > Does this also address the netinet/in.h issue that I recently added for 1.10 and the 3.8 Kernel? Ultimately this patch will need to be rebased based on master. Sau! > Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> > --- > meta/recipes-connectivity/connman/connman.inc | 2 +- > ...If-there-is-no-d_type-support-use-fstatat.patch | 55 -------------------- > .../connman/{connman_1.10.bb => connman_1.12.bb} | 5 +- > 3 files changed, 3 insertions(+), 59 deletions(-) > delete mode 100644 meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch > rename meta/recipes-connectivity/connman/{connman_1.10.bb => > connman_1.12.bb} (72%) > > diff --git a/meta/recipes-connectivity/connman/connman.inc > b/meta/recipes-connectivity/connman/connman.inc > index db4d26c..04b21f7 100644 > --- a/meta/recipes-connectivity/connman/connman.inc > +++ b/meta/recipes-connectivity/connman/connman.inc > @@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \ > ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ > " > > -INC_PR = "r18" > +INC_PR = "r0" > > TIST = "--enable-tist" > TIST_powerpc = "" > diff --git > a/meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is > -no-d_type-support-use-fstatat.patch > b/meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is > -no-d_type-support-use-fstatat.patch > deleted file mode 100644 > index 7315545..0000000 > --- > a/meta/recipes-connectivity/connman/connman/0002-storage.c-If-there-is > -no-d_type-support-use-fstatat.patch > +++ /dev/null > @@ -1,55 +0,0 @@ > -From 7007ef32a959ac4717c19339a24fd90a68638a19 Mon Sep 17 00:00:00 > 2001 > -From: Andrei Gherzan <andrei@gherzan.ro> > -Date: Tue, 17 Jul 2012 16:07:17 +0300 > -Subject: [PATCH V3 2/2] storage.c: If there is no d_type support use > - fstatat() > - > -This is useful for filesystems where d_type is always DT_UNKNOWN. > -In this case use fstatat() function. > - > -Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> > -Signed-off-by: Constantin Musca <constantinx.musca@intel.com> > -Upstream-Status: Submitted > - > ---- > - src/storage.c | 19 +++++++++++++++++++ > - 1 file changed, 19 insertions(+) > - > -Index: git/src/storage.c > -=================================================================== > ---- git.orig/src/storage.c > -+++ git/src/storage.c > -@@ -193,7 +193,6 @@ gchar **connman_storage_get_services() > - > - switch (d->d_type) { > - case DT_DIR: > -- case DT_UNKNOWN: > - /* > - * If the settings file is not found, then > - * assume this directory is not a services dir. > -@@ -203,6 +202,25 @@ gchar **connman_storage_get_services() > - ret = stat(str, &buf); > - g_free(str); > - if (ret < 0) > -+ continue; > -+ > -+ g_string_append_printf(result, "%s/", d->d_name); > -+ break; > -+ case DT_UNKNOWN: > -+ /* > -+ * If there is no d_type support use fstatat() > -+ * to check if directory > -+ */ > -+ ret = fstatat(dirfd(dir), d->d_name, &buf, 0); > -+ if (ret < 0) > -+ continue; > -+ if (!(buf.st_mode & S_IFDIR)) > -+ continue; > -+ str = g_strdup_printf("%s/%s/settings", STORAGEDIR, > -+ d->d_name); > -+ ret = stat(str, &buf); > -+ g_free(str); > -+ if (ret < 0) > - continue; > - > - g_string_append_printf(result, "%s/", d->d_name); > diff --git a/meta/recipes-connectivity/connman/connman_1.10.bb > b/meta/recipes-connectivity/connman/connman_1.12.bb > similarity index 72% > rename from meta/recipes-connectivity/connman/connman_1.10.bb > rename to meta/recipes-connectivity/connman/connman_1.12.bb > index 10d5255..5da50fe 100644 > --- a/meta/recipes-connectivity/connman/connman_1.10.bb > +++ b/meta/recipes-connectivity/connman/connman_1.12.bb > @@ -1,12 +1,11 @@ > require connman.inc > > -# 1.10 tag > -SRCREV = "3bda76eb442c9395db1dba17352c3e78376671cc" > +# 1.12 tag > +SRCREV = "8397cbbc0a79d39cf3b1880f4fd3f3405b6bc6ad" > SRC_URI = "git://git.kernel.org/pub/scm/network/connman/connman.git \ > file://0001-plugin.h-Change-visibility-to-default-for-debug-symb.patch \ > file://add_xuser_dbus_permission.patch \ > file://connman \ > - file://0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch \ > file://inet-fix-ip-cleanup-functions.patch" > S = "${WORKDIR}/git" > PR = "${INC_PR}.0" > ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] connman: Wired inteface provisioned via qemu 2013-03-01 16:48 [PATCH 0/2] Connman upgrade and qemu ethernet provisioning Cristian Iorga 2013-03-01 16:48 ` [PATCH 1/2] connman: upgrade to 1.12 Cristian Iorga @ 2013-03-01 16:48 ` Cristian Iorga 1 sibling, 0 replies; 5+ messages in thread From: Cristian Iorga @ 2013-03-01 16:48 UTC (permalink / raw) To: openembedded-core - 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> --- meta/recipes-connectivity/connman/connman-conf.bb | 17 ++++++++++------- .../connman/connman-conf/qemuall/main.conf | 3 --- .../connman/connman-conf/qemuall/wired-setup | 16 ++++++++++++++++ .../connman/connman-conf/qemuall/wired.config | 8 ++++++++ meta/recipes-connectivity/connman/connman/connman | 3 +++ 5 files changed, 37 insertions(+), 10 deletions(-) delete mode 100644 meta/recipes-connectivity/connman/connman-conf/qemuall/main.conf create mode 100644 meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup create mode 100644 meta/recipes-connectivity/connman/connman-conf/qemuall/wired.config diff --git a/meta/recipes-connectivity/connman/connman-conf.bb b/meta/recipes-connectivity/connman/connman-conf.bb index 7c7ef26..7b99953 100644 --- a/meta/recipes-connectivity/connman/connman-conf.bb +++ b/meta/recipes-connectivity/connman/connman-conf.bb @@ -1,18 +1,21 @@ -#connman config to ignore wired interfaces on qemu machines +#connman config to setup wired interface on qemu machines LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI_append_qemuall = " file://main.conf" - -PR = "r0" +SRC_URI_append_qemuall = "file://wired.config \ + file://wired-setup \ + " +PR = "r1" PACKAGE_ARCH = "${MACHINE_ARCH}" do_install() { - #Blacklist ethn network interface in case of qemu* machines - if test -e ${WORKDIR}/main.conf; then + #Configure Wired network interface in case of qemu* machines + if test -e ${WORKDIR}/wired.config && test -e ${WORKDIR}/wired-setup; then + install -d ${D}${localstatedir}/lib/connman + install -m 0644 ${WORKDIR}/wired.config ${D}${localstatedir}/lib/connman install -d ${D}${sysconfdir}/connman - install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/connman + install -m 0755 ${WORKDIR}/wired-setup ${D}${sysconfdir}/connman fi } diff --git a/meta/recipes-connectivity/connman/connman-conf/qemuall/main.conf b/meta/recipes-connectivity/connman/connman-conf/qemuall/main.conf deleted file mode 100644 index 01973e7..0000000 --- a/meta/recipes-connectivity/connman/connman-conf/qemuall/main.conf +++ /dev/null @@ -1,3 +0,0 @@ -[General] - -NetworkInterfaceBlacklist = eth diff --git a/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup b/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup new file mode 100644 index 0000000..135a6c1 --- /dev/null +++ b/meta/recipes-connectivity/connman/connman-conf/qemuall/wired-setup @@ -0,0 +1,16 @@ +#!/bin/sh + +CONFIGF=/var/lib/connman/wired.config + +# Extract wired network config from /proc/cmdline +NET_CONF=`cat /proc/cmdline |sed -ne 's/^.*ip=\([^ ]*\):\([^ ]*\):\([^ ]*\):\([^ ]*\).*$/\1\/\4\/\3/p'` + +# Check if eth0 is already set via kernel cmdline +if [ "x$NET_CONF" = "x" ]; then + # Wired interface is not configured via kernel cmdline + # Remove connman config file template + rm ${CONFIGF} +else + # Setup a connman config accordingly + sed -i -e "s|^\(IPv4 =\)|\1 ${NET_CONF}|" ${CONFIGF} +fi diff --git a/meta/recipes-connectivity/connman/connman-conf/qemuall/wired.config b/meta/recipes-connectivity/connman/connman-conf/qemuall/wired.config new file mode 100644 index 0000000..996e429 --- /dev/null +++ b/meta/recipes-connectivity/connman/connman-conf/qemuall/wired.config @@ -0,0 +1,8 @@ +[global] +Name = Wired +Description = Wired network configuration + +[service_ethernet] +Type = ethernet +IPv4 = +MAC = 52:54:00:12:34:56 diff --git a/meta/recipes-connectivity/connman/connman/connman b/meta/recipes-connectivity/connman/connman/connman index aed4a79..ffd7fac 100644 --- a/meta/recipes-connectivity/connman/connman/connman +++ b/meta/recipes-connectivity/connman/connman/connman @@ -32,6 +32,9 @@ do_start() { ethn=`ifconfig | grep eth | sed -e "s/\(eth[0-9]\)\(.*\)/\1/"` EXTRA_PARAM="-I $ethn" fi + if [ -f /etc/connman/wired-setup ] ; then + . /etc/connman/wired-setup + fi $DAEMON $EXTRA_PARAM } -- 1.7.10.4 ^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-03-04 6:26 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-03-01 16:48 [PATCH 0/2] Connman upgrade and qemu ethernet provisioning Cristian Iorga 2013-03-01 16:48 ` [PATCH 1/2] connman: upgrade to 1.12 Cristian Iorga 2013-03-01 23:46 ` Saul Wold 2013-03-04 6:09 ` Iorga, Cristian 2013-03-01 16:48 ` [PATCH 2/2] connman: Wired inteface provisioned via qemu Cristian Iorga
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox