🚧 hot fix

This commit is contained in:
Vladislav Nepogodin 2021-12-19 03:15:37 +04:00
parent 4bc850b641
commit 2d05a6a106
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
2 changed files with 9 additions and 9 deletions

View File

@ -115,7 +115,7 @@ enable_sanitizers(project_options)
include_directories(${CMAKE_SOURCE_DIR}/src)
target_link_libraries(${PROJECT_NAME} PRIVATE project_warnings project_options spdlog::spdlog fmt::fmt ftxui::screen ftxui::dom ftxui::component nlohmann_json::nlohmann_json cpr::cpr PkgConfig::GLIBMM)
target_link_libraries(test-exec-interactive PRIVATE project_warnings project_options spdlog::spdlog fmt::fmt ftxui::component PkgConfig::GLIBMM)
target_link_libraries(test-exec-interactive PRIVATE project_warnings project_options spdlog::spdlog fmt::fmt ftxui::component cpr::cpr PkgConfig::GLIBMM)
option(ENABLE_UNITY "Enable Unity builds of projects" OFF)
if(ENABLE_UNITY)

View File

@ -851,14 +851,14 @@ void mount_partitions() noexcept {
// ignore_part += utils::zfs_list_devs();
ignore_part += utils::list_containing_crypt();
const auto& parts = utils::make_multiline(ignore_part);
for (const auto& part : parts) {
#ifdef NDEVENV
// utils::delete_partition_in_list(part);
#else
spdlog::debug("{}", part);
#endif
}
// const auto& parts = utils::make_multiline(ignore_part);
// for (const auto& part : parts) {
//#ifdef NDEVENV
// utils::delete_partition_in_list(part);
//#else
// spdlog::debug("{}", part);
//#endif
// }
// check to see if we already have a zfs root mounted
const auto& mountpoint_info = std::get<std::string>(config_data["MOUNTPOINT"]);