summaryrefslogtreecommitdiff
path: root/meta/packages/connman/files
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-26 00:38:51 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-26 00:38:51 +0100
commit1dfcc21eae77e5fc846e0443096261c0ffc9f25f (patch)
tree140138f8d94147d9e4b82abc2f5589c8fd07ab0c /meta/packages/connman/files
parentc321cda0a586d73d68c9043de05012632d0356c0 (diff)
downloadopenembedded-core-1dfcc21eae77e5fc846e0443096261c0ffc9f25f.tar.gz
openembedded-core-1dfcc21eae77e5fc846e0443096261c0ffc9f25f.tar.bz2
openembedded-core-1dfcc21eae77e5fc846e0443096261c0ffc9f25f.zip
connman: Various fixes so it starts working properly
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/connman/files')
-rw-r--r--meta/packages/connman/files/dbusperms.patch12
-rw-r--r--meta/packages/connman/files/dhclientreorder.patch40
-rw-r--r--meta/packages/connman/files/udevfix.patch12
3 files changed, 64 insertions, 0 deletions
diff --git a/meta/packages/connman/files/dbusperms.patch b/meta/packages/connman/files/dbusperms.patch
new file mode 100644
index 0000000000..100af0367b
--- /dev/null
+++ b/meta/packages/connman/files/dbusperms.patch
@@ -0,0 +1,12 @@
+Index: git/src/connman-dbus.conf
+===================================================================
+--- git.orig/src/connman-dbus.conf 2009-05-26 00:34:35.000000000 +0100
++++ git/src/connman-dbus.conf 2009-05-26 00:34:48.000000000 +0100
+@@ -10,6 +10,6 @@
+ <allow send_destination="org.moblin.connman"/>
+ </policy>
+ <policy context="default">
+- <deny send_destination="org.moblin.connman"/>
++ <allow send_destination="org.moblin.connman"/>
+ </policy>
+ </busconfig>
diff --git a/meta/packages/connman/files/dhclientreorder.patch b/meta/packages/connman/files/dhclientreorder.patch
new file mode 100644
index 0000000000..04da0252df
--- /dev/null
+++ b/meta/packages/connman/files/dhclientreorder.patch
@@ -0,0 +1,40 @@
+The -n option must appear after the iface options, else dhclient
+just prints its help text. Crazy.
+
+RP - 25/5/09
+
+Index: git/plugins/dhclient.c
+===================================================================
+--- git.orig/plugins/dhclient.c 2009-05-26 00:01:02.000000000 +0100
++++ git/plugins/dhclient.c 2009-05-26 00:01:38.000000000 +0100
+@@ -165,18 +165,18 @@
+ argv[0] = DHCLIENT;
+ argv[1] = "-d";
+ argv[2] = "-q";
+- argv[3] = "-n";
+- argv[4] = "-e";
+- argv[5] = address;
+- argv[6] = "-pf";
+- argv[7] = pidfile;
+- argv[8] = "-lf";
+- argv[9] = leases;
+- argv[10] = "-cf";
+- argv[11] = config;
+- argv[12] = "-sf";
+- argv[13] = script;
+- argv[14] = task->ifname;
++ argv[3] = "-e";
++ argv[4] = address;
++ argv[5] = "-pf";
++ argv[6] = pidfile;
++ argv[7] = "-lf";
++ argv[8] = leases;
++ argv[9] = "-cf";
++ argv[10] = config;
++ argv[11] = "-sf";
++ argv[12] = script;
++ argv[13] = task->ifname;
++ argv[14] = "-n";
+ argv[15] = NULL;
+
+ envp[0] = NULL;
diff --git a/meta/packages/connman/files/udevfix.patch b/meta/packages/connman/files/udevfix.patch
new file mode 100644
index 0000000000..803bec5281
--- /dev/null
+++ b/meta/packages/connman/files/udevfix.patch
@@ -0,0 +1,12 @@
+Index: git/src/connman.rules
+===================================================================
+--- git.orig/src/connman.rules 2009-05-25 14:24:53.000000000 +0100
++++ git/src/connman.rules 2009-05-25 14:25:16.000000000 +0100
+@@ -3,6 +3,7 @@
+
+ SUBSYSTEM=="net", KERNEL=="eth*", ENV{CONNMAN_TYPE}="ethernet"
+ SUBSYSTEM=="net", KERNEL=="wlan*", ENV{CONNMAN_TYPE}="wifi"
++SUBSYSTEM=="net", KERNEL=="ra0", ENV{CONNMAN_TYPE}="wifi"
+
+ SUBSYSTEM=="net", DRIVERS=="hso", ENV{CONNMAN_TYPE}="hso"
+