mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-02-02 22:07:13 +08:00
🚧 disk: fix btrfs subvol append for devenv
This commit is contained in:
parent
c6dfd57f66
commit
cc5bcdc607
@ -118,13 +118,13 @@ void btrfs_create_subvols(std::vector<gucc::fs::Partition>& partitions, const st
|
|||||||
if (!gucc::fs::btrfs_create_subvols(default_subvolumes, root_part->device, root_mountpoint, root_part->mount_opts)) {
|
if (!gucc::fs::btrfs_create_subvols(default_subvolumes, root_part->device, root_mountpoint, root_part->mount_opts)) {
|
||||||
spdlog::error("Failed to create subvolumes automatically");
|
spdlog::error("Failed to create subvolumes automatically");
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
spdlog::info("Do we ignore note? {}", ignore_note);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!gucc::fs::btrfs_append_subvolumes(partitions, default_subvolumes)) {
|
if (!gucc::fs::btrfs_append_subvolumes(partitions, default_subvolumes)) {
|
||||||
spdlog::error("Failed to append btrfs subvolumes into partition scheme");
|
spdlog::error("Failed to append btrfs subvolumes into partition scheme");
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
spdlog::info("Do we ignore note? {}", ignore_note);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// need to find it again, due to modifying the parts
|
// need to find it again, due to modifying the parts
|
||||||
root_part = find_root_btrfs_part(partitions);
|
root_part = find_root_btrfs_part(partitions);
|
||||||
|
Loading…
Reference in New Issue
Block a user