From: Thomas Petazzoni Date: Sun, 17 Dec 2017 08:56:04 +0000 (+0100) Subject: traceroute: pass INSTALL=$(INSTALL) as install time X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4e713bf34a154ccf5e32c98eefff1e8fd3062b6;p=buildroot.git traceroute: pass INSTALL=$(INSTALL) as install time As reported by Peter, using cp during the installation isn't correct, as it follows symbolic links, potentially over-writing the busybox binary through its traceroute symbolic link. To avoid that, we pass INSTALL=$(INSTALL) during the installation step. Signed-off-by: Thomas Petazzoni --- diff --git a/package/traceroute/traceroute.mk b/package/traceroute/traceroute.mk index 5d185a2900..9d74b8fe38 100644 --- a/package/traceroute/traceroute.mk +++ b/package/traceroute/traceroute.mk @@ -23,7 +23,8 @@ endef define TRACEROUTE_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - DESTDIR=$(TARGET_DIR) prefix=/usr install -C $(@D) + DESTDIR=$(TARGET_DIR) prefix=/usr install \ + INSTALL=$(INSTALL) -C $(@D) endef $(eval $(generic-package))