32e03b2cdd
Move content from stx-gplv2 into stx-integ Packages will be relocated to stx-integ: base/ bash cgcs-users cluster-resource-agents dpkg haproxy libfdt netpbm rpm database/ mariadb filesystem/ iscsi-initiator-utils filesystem/drbd/ drbd-tools kernel/kernel-modules/ drbd integrity intel-e1000e intel-i40e intel-i40evf intel-ixgbe intel-ixgbevf qat17 tpmdd ldap/ ldapscripts networking/ iptables net-tools Change-Id: Ibc2ad09bef7a7f40e337513a1694a22f38d7f4e9 Story: 2002801 Task: 22687 Signed-off-by: Scott Little <scott.little@windriver.com>
48 lines
1.3 KiB
Diff
48 lines
1.3 KiB
Diff
---
|
|
scripts/CMakeLists.txt | 29 +++++++++++++++++++++++++++++
|
|
1 file changed, 29 insertions(+)
|
|
|
|
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
|
|
index 2f9c185..a6e4d49 100644
|
|
--- a/scripts/CMakeLists.txt
|
|
+++ b/scripts/CMakeLists.txt
|
|
@@ -362,6 +362,35 @@ ELSE()
|
|
)
|
|
ENDFOREACH()
|
|
|
|
+ # files for systemd
|
|
+ SET(SYSTEMD_SCRIPTS
|
|
+ mysql.tmpfiles.d
|
|
+ mysql.service
|
|
+ mysql@.service
|
|
+ mysql-prepare-db-dir
|
|
+ mysql-wait-ready
|
|
+ mysql-wait-stop
|
|
+ mysql-check-socket
|
|
+ mysql-check-upgrade
|
|
+ mysql-scripts-common
|
|
+ mysql_config_multilib
|
|
+ clustercheck
|
|
+ mysql.init
|
|
+ my.cnf
|
|
+ )
|
|
+ FOREACH(file ${SYSTEMD_SCRIPTS})
|
|
+ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh)
|
|
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
|
+ ELSEIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.in)
|
|
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.in
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
|
+ ELSE()
|
|
+ MESSAGE(FATAL_ERROR "Can not find ${file}.sh or ${file}.in in "
|
|
+ "${CMAKE_CURRENT_SOURCE_DIR}" )
|
|
+ ENDIF()
|
|
+ ENDFOREACH()
|
|
+
|
|
FOREACH(file ${WSREP_SOURCE})
|
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh
|
|
${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
|
--
|
|
1.9.1
|
|
|