MXS-2549: Install prelink config file
The prelink configuration file should prevent maxctrl from being corrupted by it.
This commit is contained in:
parent
74ef8a9591
commit
239c4a8615
@ -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)
|
||||
|
1
etc/prelink.conf.d/maxscale.conf
Normal file
1
etc/prelink.conf.d/maxscale.conf
Normal file
@ -0,0 +1 @@
|
||||
-b /usr/bin/maxctrl
|
Loading…
x
Reference in New Issue
Block a user