[openwrt/openwrt] iproute2: disable SELinux for now

LEDE Commits lede-commits at lists.infradead.org
Thu Aug 13 09:03:33 EDT 2020


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0709f6e798c32cb509964794cd388d10470343f8

commit 0709f6e798c32cb509964794cd388d10470343f8
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Thu Aug 13 13:59:01 2020 +0100

    iproute2: disable SELinux for now
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 .../utils/iproute2/patches/300-selinux-configurable.patch     | 11 +++++++++++
 1 file changed, 11 insertions(+)

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"
+ 



More information about the lede-commits mailing list