summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-02-23 10:32:34 +0100
committerSergei Golubchik <serg@mariadb.org>2017-02-27 12:35:10 +0100
commit713d513624a05c8ba4e5c87d90300cc9bce4e015 (patch)
tree81ed9574fc85847622639779f38a3921c4f2cc80 /support-files
parent831b531895d9a4c0735eaff727acbc28f4e4b412 (diff)
downloadmariadb-git-713d513624a05c8ba4e5c87d90300cc9bce4e015.tar.gz
MDEV-12074 selinux build failure on Fedora 24
Diffstat (limited to 'support-files')
-rw-r--r--support-files/SELinux/CMakeLists.txt4
-rw-r--r--support-files/SELinux/mariadb.te (renamed from support-files/SELinux/centos6-mariadb.te)0
-rw-r--r--support-files/rpm/server-postin.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/support-files/SELinux/CMakeLists.txt b/support-files/SELinux/CMakeLists.txt
index e3cdb26ca8f..996d56d6c05 100644
--- a/support-files/SELinux/CMakeLists.txt
+++ b/support-files/SELinux/CMakeLists.txt
@@ -20,7 +20,7 @@ MARK_AS_ADVANCED(CHECKMODULE SEMODULE_PACKAGE)
SET(params DESTINATION ${INSTALL_SUPPORTFILESDIR}/SELinux COMPONENT SupportFiles)
IF(CHECKMODULE AND SEMODULE_PACKAGE)
- FOREACH(pol centos6-mariadb)
+ FOREACH(pol mariadb)
SET(src ${CMAKE_CURRENT_SOURCE_DIR}/${pol}.te)
SET(mod ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${pol}-pp.dir/${pol}.mod)
SET(out ${CMAKE_CURRENT_BINARY_DIR}/${pol}.pp)
@@ -32,4 +32,4 @@ IF(CHECKMODULE AND SEMODULE_PACKAGE)
INSTALL(FILES ${out} ${params})
ENDFOREACH()
ENDIF()
-INSTALL(FILES centos6-mariadb.te rhel4-mysql.fc rhel4-mysql.te ${params})
+INSTALL(FILES mariadb.te rhel4-mysql.fc rhel4-mysql.te ${params})
diff --git a/support-files/SELinux/centos6-mariadb.te b/support-files/SELinux/mariadb.te
index 1d3de52c700..1d3de52c700 100644
--- a/support-files/SELinux/centos6-mariadb.te
+++ b/support-files/SELinux/mariadb.te
diff --git a/support-files/rpm/server-postin.sh b/support-files/rpm/server-postin.sh
index 377a752824d..d9f06fa43b8 100644
--- a/support-files/rpm/server-postin.sh
+++ b/support-files/rpm/server-postin.sh
@@ -82,7 +82,7 @@ if [ -f /etc/redhat-release ] ; then
fi
if grep 'CentOS release 6' /etc/redhat-release >/dev/null 2>&1; then
if [ -x /usr/sbin/semodule ] ; then
- /usr/sbin/semodule -i /usr/share/mysql/SELinux/centos6-mariadb.pp
+ /usr/sbin/semodule -i /usr/share/mysql/SELinux/mariadb.pp
fi
fi
fi