[Buildroot] [PATCH 1/3] dhcpcd: install dhcpcd as /usr/sbin/dhcpcd.

Eric Le Bihan eric.le.bihan.dev at free.fr
Tue Jan 7 10:29:19 UTC 2014


GNU/Linux distributions usually install dhcpcd in /usr/sbin.
NetworkManager will look for it in this directory.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev at free.fr>
---
 package/dhcpcd/dhcpcd.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/dhcpcd/dhcpcd.mk b/package/dhcpcd/dhcpcd.mk
index 8037706..01ced3a 100644
--- a/package/dhcpcd/dhcpcd.mk
+++ b/package/dhcpcd/dhcpcd.mk
@@ -32,7 +32,7 @@ endef
 
 define DHCPCD_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/dhcpcd \
-		$(TARGET_DIR)/usr/bin/dhcpcd
+		$(TARGET_DIR)/usr/sbin/dhcpcd
 	$(INSTALL) -D -m 0644 $(@D)/dhcpcd.conf \
 		$(TARGET_DIR)/etc/dhcpcd.conf
 	$(INSTALL) -D -m 0755 $(@D)/dhcpcd-run-hooks \
-- 
1.7.9.5




More information about the buildroot mailing list