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 <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
06bbe7f7b8
commit
a4e713bf34
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user