summaryrefslogtreecommitdiffstats
path: root/package/dhcpcd
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-11-18 14:01:56 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-19 23:15:30 +0100
commit3c79d8adf4cd987476b02fbb1565c1848c44ffb7 (patch)
tree7bc3889ed1128a59da737410a38299b22e6ec4b8 /package/dhcpcd
parent15e06dc473c6ac7ccbae3171be9f3211d5d1f1a1 (diff)
dhcpcd: use standard installation
Drop the custom/manual install cmds and do a normal make install. This gets dhcpcd-hooks installed which are useful for many accesory setup functions like dns, ntp server, and so on. Also install dhcpcd to /sbin since it's expected by debian ifupdown, For busybox ifupdown when external dhcp clients are enabled (not in the default config we ship) will search the path. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dhcpcd')
-rw-r--r--package/dhcpcd/dhcpcd.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/dhcpcd/dhcpcd.mk b/package/dhcpcd/dhcpcd.mk
index 3bb7a135f..975742136 100644
--- a/package/dhcpcd/dhcpcd.mk
+++ b/package/dhcpcd/dhcpcd.mk
@@ -35,12 +35,7 @@ define DHCPCD_BUILD_CMDS
endef
define DHCPCD_INSTALL_TARGET_CMDS
- $(INSTALL) -D -m 0755 $(@D)/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 \
- $(TARGET_DIR)/libexec/dhcpcd-run-hooks
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
endef
# NOTE: Even though this package has a configure script, it is not generated