File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -390,6 +390,11 @@ construct_cmake_flags() {
390390 MDB_CMAKE_FLAGS+=(-DDEB=${CODENAME} )
391391 fi
392392
393+ if [[ " $NO_CLEAN " == true ]]; then
394+ message " Skipping Columnstore.etc config installation"
395+ MDB_CMAKE_FLAGS+=(-DSKIP_CONFIG_INSTALLATION=ON)
396+ fi
397+
393398 MDB_CMAKE_FLAGS+=($CUSTOM_CMAKE_FLAGS )
394399
395400 message " Building with flags"
@@ -619,8 +624,10 @@ install() {
619624
620625 make_dir /etc/columnstore
621626
622- cp " $MDB_SOURCE_PATH " /storage/columnstore/columnstore/oam/etc/Columnstore.xml /etc/columnstore/Columnstore.xml
623- cp " $MDB_SOURCE_PATH " /storage/columnstore/columnstore/storage-manager/storagemanager.cnf /etc/columnstore/storagemanager.cnf
627+ if [[ " $NO_CLEAN " == false ]]; then
628+ cp " $MDB_SOURCE_PATH " /storage/columnstore/columnstore/oam/etc/Columnstore.xml /etc/columnstore/Columnstore.xml
629+ cp " $MDB_SOURCE_PATH " /storage/columnstore/columnstore/storage-manager/storagemanager.cnf /etc/columnstore/storagemanager.cnf
630+ fi
624631
625632 cp " $MDB_SOURCE_PATH " /storage/columnstore/columnstore/oam/install_scripts/* .service /lib/systemd/system/
626633
Original file line number Diff line number Diff line change 1- columnstore_install_file(Columnstore.xml ${ENGINE_SYSCONFDIR} /columnstore)
1+ if (NOT SKIP_CONFIG_INSTALLATION)
2+ columnstore_install_file(Columnstore.xml ${ENGINE_SYSCONFDIR} /columnstore)
3+ endif ()
You can’t perform that action at this time.
0 commit comments