From 0709f6e798c32cb509964794cd388d10470343f8 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 13 Aug 2020 13:59:01 +0100 Subject: [PATCH] iproute2: disable SELinux for now Signed-off-by: Daniel Golle --- .../iproute2/patches/300-selinux-configurable.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/network/utils/iproute2/patches/300-selinux-configurable.patch diff --git a/package/network/utils/iproute2/patches/300-selinux-configurable.patch b/package/network/utils/iproute2/patches/300-selinux-configurable.patch new file mode 100644 index 0000000000..4cda30f978 --- /dev/null +++ b/package/network/utils/iproute2/patches/300-selinux-configurable.patch @@ -0,0 +1,11 @@ +--- a/configure ++++ b/configure +@@ -244,7 +244,7 @@ check_elf() + check_selinux() + # SELinux is a compile time option in the ss utility + { +- if ${PKG_CONFIG} libselinux --exists; then ++ if [ "${HAVE_SELINUX}" = "y" ] && ${PKG_CONFIG} libselinux --exists; then + echo "HAVE_SELINUX:=y" >>$CONFIG + echo "yes" + -- 2.30.2