[Buildroot] [PATCH 07/10] dhcp: install dhclient to /sbin

Gustavo Zacarias gustavo at zacarias.com.ar
Fri Nov 14 22:27:56 UTC 2014


On 11/14/2014 07:17 PM, Arnout Vandecappelle wrote:

>> --- a/package/dhcp/dhcp.mk
>> +++ b/package/dhcp/dhcp.mk
>> @@ -59,7 +59,7 @@ define DHCP_INSTALL_CLIENT
>>  	mkdir -p $(TARGET_DIR)/var/lib
>>  	(cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp)
>>  	$(INSTALL) -m 0755 -D $(DHCP_DIR)/client/dhclient \
>> -		$(TARGET_DIR)/usr/sbin/dhclient
>> +		$(TARGET_DIR)/sbin/dhclient
> 
>  Then you should also update network-manager.mk:
> 
> NETWORK_MANAGER_CONF_OPTS += --with-dhclient=/usr/sbin/dhclient

Evidently nobody used it because it never worked out of the box (because
of the lack of a proper dhclient-script) ;)
I'll adjust it.
Regards.




More information about the buildroot mailing list