aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-12 16:46:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-12 16:50:21 +0000
commitc9a420be15d54a8494cb45d6c932b86895e94e13 (patch)
treee9d8d4216c2ec52df5a22973a7dacbcbbd83ea54 /meta/recipes-connectivity/connman/connman
parent9e00d6b343120496ec0dd72240c7b04e0a8b7eaa (diff)
downloadopenembedded-core-c9a420be15d54a8494cb45d6c932b86895e94e13.tar.gz
connman: Default to enabling ethernet interfaces
This fixes various qemu image failures where connman has changed its default and would deconfigure network interfaces causing qemu images and runtime image testing to fail. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/connman/connman')
-rw-r--r--meta/recipes-connectivity/connman/connman/ethernet_default.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman/ethernet_default.patch b/meta/recipes-connectivity/connman/connman/ethernet_default.patch
new file mode 100644
index 0000000000..d0c05d72ff
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman/ethernet_default.patch
@@ -0,0 +1,22 @@
+Default to enabling the ethernet interface. If we don't do this, connman
+will shut down all the networking when it starts without any configuration
+which is usualy not what the users expects. This is particularly
+problematic with our qemu images and runtime testing using qemu.
+
+Upstream Status: Inappropriate [Configuration]
+
+RP 2011/12/12
+
+Index: git/src/storage.c
+===================================================================
+--- git.orig/src/storage.c 2011-12-12 16:14:10.892316565 +0000
++++ git/src/storage.c 2011-12-12 16:14:13.788316431 +0000
+@@ -367,7 +367,7 @@
+ "Enable", FALSE);
+
+ g_key_file_set_boolean(keyfile, "Wired",
+- "Enable", FALSE);
++ "Enable", TRUE);
+
+ g_key_file_set_boolean(keyfile, "3G",
+ "Enable", FALSE);