mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 22:42:31 +08:00
👷 tui: as we mount dump partition into log
This commit is contained in:
parent
a4b3f800a3
commit
075cec2e01
@ -1726,6 +1726,8 @@ auto mount_root_partition(std::vector<gucc::fs::Partition>& partitions) noexcept
|
|||||||
const auto& root_part_uuid = gucc::fs::utils::get_device_uuid(root_part_struct.device);
|
const auto& root_part_uuid = gucc::fs::utils::get_device_uuid(root_part_struct.device);
|
||||||
root_part_struct.uuid_str = root_part_uuid;
|
root_part_struct.uuid_str = root_part_uuid;
|
||||||
|
|
||||||
|
utils::dump_partition_to_log(root_part_struct);
|
||||||
|
|
||||||
// insert root partition
|
// insert root partition
|
||||||
partitions.emplace_back(std::move(root_part_struct));
|
partitions.emplace_back(std::move(root_part_struct));
|
||||||
|
|
||||||
@ -1892,6 +1894,8 @@ void mount_partitions() noexcept {
|
|||||||
const auto& part_uuid = gucc::fs::utils::get_device_uuid(part_struct.device);
|
const auto& part_uuid = gucc::fs::utils::get_device_uuid(part_struct.device);
|
||||||
part_struct.uuid_str = part_uuid;
|
part_struct.uuid_str = part_uuid;
|
||||||
|
|
||||||
|
utils::dump_partition_to_log(part_struct);
|
||||||
|
|
||||||
// insert root partition
|
// insert root partition
|
||||||
partitions.emplace_back(std::move(part_struct));
|
partitions.emplace_back(std::move(part_struct));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user