MXS-2549: Install prelink config file

The prelink configuration file should prevent maxctrl from being corrupted
by it.
This commit is contained in:
Markus Mäkelä 2019-06-12 12:44:12 +03:00
parent 74ef8a9591
commit 239c4a8615
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
2 changed files with 5 additions and 1 deletions

View File

@ -239,9 +239,12 @@ install_file(${CMAKE_SOURCE_DIR}/etc/logrotate.d/maxscale_logrotate core)
install_header(${CMAKE_SOURCE_DIR}/COPYRIGHT devel)
install_header(${CMAKE_SOURCE_DIR}/LICENSE.TXT devel)
# Install startup scripts and ldconfig files
# Install startup scripts and other system configuration files
if(WITH_SCRIPTS)
include(cmake/init_scripts.cmake)
# Prevents prelink from corrupting maxctrl
install_custom_file(etc/prelink.conf.d/maxscale.conf /etc/prelink.conf.d/ core)
endif()
if(PACKAGE)

View File

@ -0,0 +1 @@
-b /usr/bin/maxctrl