From: Petr Vorel Date: Wed, 19 Jun 2019 21:30:08 +0000 (+0200) Subject: package/iputils: create ping6 symlink X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b37dda2a972cdf;p=buildroot.git package/iputils: create ping6 symlink Upstream expect distros will do it, see https://github.com/iputils/iputils/commit/ebad35fee3de851b809c7b72ccc654a72b6af61d Signed-off-by: Petr Vorel Signed-off-by: Thomas Petazzoni --- diff --git a/package/iputils/iputils.mk b/package/iputils/iputils.mk index c6bff92848..15ee68be53 100644 --- a/package/iputils/iputils.mk +++ b/package/iputils/iputils.mk @@ -65,6 +65,12 @@ define IPUTILS_MOVE_BINARIES endef IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_MOVE_BINARIES +# upstream requires distros to create symlink +define IPUTILS_CREATE_PING6_SYMLINK + ln -sf $(TARGET_DIR)/bin/ping $(TARGET_DIR)/bin/ping6 +endef +IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_CREATE_PING6_SYMLINK + # handle permissions ourselves IPUTILS_CONF_OPTS += -DNO_SETCAP_OR_SUID=true define IPUTILS_PERMISSIONS