[Buildroot] [PATCH] traceroute: new package
Peter Korsgaard
peter at korsgaard.com
Sat Dec 16 21:47:08 UTC 2017
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> Hello,
> On Sat, 16 Dec 2017 11:01:49 -0200, Sergio Prado wrote:
>> +define TRACEROUTE_INSTALL_TARGET_CMDS
>> + $(RM) -f $(TARGET_DIR)/usr/bin/traceroute
> I didn't see why this is needed. The package does a simple "cp", so
> reinstallation works fine. So I've dropped this.
Yes, but plain cp follows symlinks, so it ends up overwriting the
bin/busybox binary, breaking the build.
So we either need this workaround or pass INSTALL=$(INSTALL) to make to
get it to use install instead of cp.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list