mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
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
|
define TRACEROUTE_INSTALL_TARGET_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
$(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
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user