From: Gustavo Zacarias Date: Tue, 18 Nov 2014 17:01:53 +0000 (-0300) Subject: dhcp: install dhclient to /sbin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38372fbbef3087d0ebf3ccd8ebd332c2565f95c2;p=buildroot.git dhcp: install dhclient to /sbin Debian ifupdown uses an explicit call to /sbin/dhclient. Busybox ifupdown uses the search path. Signed-off-by: Gustavo Zacarias Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 27fb60b749..1eb6b32549 100644 --- 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 $(INSTALL) -m 0644 -D package/dhcp/dhclient.conf \ $(TARGET_DIR)/etc/dhcp/dhclient.conf $(INSTALL) -m 0755 -D package/dhcp/dhclient-script \