From 6b37dda2a972cdfb0bc792871917fd257f18c7d5 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Wed, 19 Jun 2019 23:30:08 +0200 Subject: [PATCH] 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 --- package/iputils/iputils.mk | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2