diff options
author | Saul Wold <sgw@linux.intel.com> | 2014-08-04 19:03:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-06 10:22:54 +0100 |
commit | 06bdccb5c4df44745863a2290cbb83fd190f66df (patch) | |
tree | b1decc5ebd8aa5ee3025c257dabc23a6215416c2 /meta/recipes-core/busybox/busybox/recognize_connmand.patch | |
parent | d5a1999a7dc216b8182440cf9e8489ec79a6606e (diff) | |
download | openembedded-core-contrib-06bdccb5c4df44745863a2290cbb83fd190f66df.tar.gz |
busybox: Make busybox connman aware
This change makes busybox aware of both connman and the standard dhcp
client, while there is a caveat about using busybox's ifup/ifdown, this
change will make the 3 possibly dhcp clients behave better when busybox
is used.
Enable the CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP feature to busybox will
search for various external clients and then add connman as an external
client.
[YOCTO #6521]
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox/recognize_connmand.patch')
-rw-r--r-- | meta/recipes-core/busybox/busybox/recognize_connmand.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/recognize_connmand.patch b/meta/recipes-core/busybox/busybox/recognize_connmand.patch new file mode 100644 index 0000000000..495bb05297 --- /dev/null +++ b/meta/recipes-core/busybox/busybox/recognize_connmand.patch @@ -0,0 +1,15 @@ +Index: busybox-1.22.1/networking/ifupdown.c +=================================================================== +--- busybox-1.22.1.orig/networking/ifupdown.c ++++ busybox-1.22.1/networking/ifupdown.c +@@ -521,6 +521,10 @@ struct dhcp_client_t { + }; + + static const struct dhcp_client_t ext_dhcp_clients[] = { ++ { "connmand", ++ "true", ++ "true", ++ }, + { "dhcpcd", + "dhcpcd[[ -h %hostname%]][[ -i %vendor%]][[ -I %client%]][[ -l %leasetime%]] %iface%", + "dhcpcd -k %iface%", |