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() {
390
390
MDB_CMAKE_FLAGS+=(-DDEB=${CODENAME} )
391
391
fi
392
392
393
+ if [[ " $NO_CLEAN " == true ]]; then
394
+ message " Skipping Columnstore.etc config installation"
395
+ MDB_CMAKE_FLAGS+=(-DSKIP_CONFIG_INSTALLATION=ON)
396
+ fi
397
+
393
398
MDB_CMAKE_FLAGS+=($CUSTOM_CMAKE_FLAGS )
394
399
395
400
message " Building with flags"
@@ -619,8 +624,10 @@ install() {
619
624
620
625
make_dir /etc/columnstore
621
626
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
624
631
625
632
cp " $MDB_SOURCE_PATH " /storage/columnstore/columnstore/oam/install_scripts/* .service /lib/systemd/system/
626
633
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