summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2020-08-13 12:59:01 +0000
committerDaniel Golle2020-08-13 13:03:07 +0000
commit0709f6e798c32cb509964794cd388d10470343f8 (patch)
tree291f150f747ab7ed10bd107fa281eb8b51fd5495
parentef765ceb0924134658876512132af5184c4dd947 (diff)
downloadopenwrt-0709f6e798c32cb509964794cd388d10470343f8.tar.gz
iproute2: disable SELinux for now
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--package/network/utils/iproute2/patches/300-selinux-configurable.patch11
1 files changed, 11 insertions, 0 deletions
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"
+