From a4e713bf34a154ccf5e32c98eefff1e8fd3062b6 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 17 Dec 2017 09:56:04 +0100 Subject: [PATCH] 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 --- package/traceroute/traceroute.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.30.2