Browse Source

mariadb: fix compilation when selinux is present

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
8fa42fe787
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 12 additions and 1 deletions
  1. +1
    -1
      utils/mariadb/Makefile
  2. +11
    -0
      utils/mariadb/patches/200-no-selinux.patch

+ 1
- 1
utils/mariadb/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mariadb
PKG_VERSION:=10.4.14
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL := \


+ 11
- 0
utils/mariadb/patches/200-no-selinux.patch View File

@ -0,0 +1,11 @@
--- a/support-files/CMakeLists.txt
+++ b/support-files/CMakeLists.txt
@@ -61,7 +61,7 @@ IF(UNIX)
INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles)
INSTALL(DIRECTORY policy DESTINATION ${inst_location} COMPONENT SupportFiles)
FIND_PROGRAM(CHECKMODULE checkmodule)
- FIND_PROGRAM(SEMODULE_PACKAGE semodule_package)
+# FIND_PROGRAM(SEMODULE_PACKAGE semodule_package)
MARK_AS_ADVANCED(CHECKMODULE SEMODULE_PACKAGE)
# Build pp files in policy/selinux

Loading…
Cancel
Save