From: Thomas De Schampheleire Date: Tue, 16 Feb 2021 12:50:30 +0000 (+0100) Subject: package/tcpdump: remove duplicated binary X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b74c9cf21a164495ae240a1272c6bf17c103b0c6;p=buildroot.git package/tcpdump: remove duplicated binary Since tcpdump 4.99.0, the 'tcpdump' binary is no longer installed in /usr/sbin but in /usr/bin. This change invalidates the Buildroot hook 'TCPDUMP_REMOVE_DUPLICATED_BINARY', causing a fairly large rootfs size increase as a result. Update the path inside this hook. Signed-off-by: Thomas De Schampheleire Signed-off-by: Peter Korsgaard --- diff --git a/package/tcpdump/tcpdump.mk b/package/tcpdump/tcpdump.mk index f8ea6576ee..c562034a4e 100644 --- a/package/tcpdump/tcpdump.mk +++ b/package/tcpdump/tcpdump.mk @@ -22,7 +22,7 @@ TCPDUMP_SELINUX_MODULES = netutils # make install installs an unneeded extra copy of the tcpdump binary define TCPDUMP_REMOVE_DUPLICATED_BINARY - rm -f $(TARGET_DIR)/usr/sbin/tcpdump.$(TCPDUMP_VERSION) + rm -f $(TARGET_DIR)/usr/bin/tcpdump.$(TCPDUMP_VERSION) endef TCPDUMP_POST_INSTALL_TARGET_HOOKS += TCPDUMP_REMOVE_DUPLICATED_BINARY