package/network-manager: NM needs isc-dhcpc or dhcpcd
authorNathaniel Roach <nroach44@gmail.com>
Wed, 26 Nov 2014 10:50:55 +0000 (18:50 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 26 Nov 2014 15:12:22 +0000 (16:12 +0100)
NM only currently supports isc-dhcpc and dhcpcd as clients because NM
communicates with the client through DBus, and support for clients needs to
be written in.  (as per files in src/dhcp-manager)

Buildroot's default, udhcpc is not supported.

Add the dependencies to Config.in, favoring dhcpcd as
default due to size.

[Peter: drop references to dhclient, isc-dhcpc is dhclient]
Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/network-manager/Config.in

index 0ed6ca5831a89c017d6d1f6f26882dd3a6561c07..a3e6e33e6d9daf3ea1db4acab053cd27a77f8ae5 100644 (file)
@@ -8,6 +8,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
        depends on BR2_USE_MMU # dbus
        depends on BR2_PACKAGE_HAS_UDEV
        depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
+       select BR2_PACKAGE_DHCPCD if !BR2_PACKAGE_DHCP_CLIENT
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_DBUS_GLIB
        select BR2_PACKAGE_GNUTLS