fix: CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y is required to make

busybox wander through all the different dhcp clients it can run.
This commit is contained in:
Harm Weites
2014-07-31 21:30:01 +02:00
parent b8ffa7b5e5
commit 041241a9b7
2 changed files with 2 additions and 1 deletions

View File

@@ -781,7 +781,7 @@ CONFIG_FEATURE_IFUPDOWN_IP=y
CONFIG_FEATURE_IFUPDOWN_IPV4=y
CONFIG_FEATURE_IFUPDOWN_IPV6=y
CONFIG_FEATURE_IFUPDOWN_MAPPING=y
# CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set
CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y
CONFIG_INETD=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD=y

View File

@@ -4,6 +4,7 @@
+Busybox tries several dhcpclients in a specific order, if one is found as
+executable it gets the honor of asking for an address. By adding cirros as the
+first option we make sure the /sbin/ifupdown script is used.
+This depends heavily on CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y.
+
+--- a/networking/ifupdown.c 2014-07-30 11:38:03.708210386 +0200
++++ b/networking/ifupdown.c 2014-07-30 11:38:24.106941433 +0200