Skip to content

Commit

Permalink
🚧 disk: fix btrfs subvol append for devenv
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jul 26, 2024
1 parent c6dfd57 commit cc5bcdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/disk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
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)) {
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
root_part = find_root_btrfs_part(partitions);
Expand Down

0 comments on commit cc5bcdc

Please sign in to comment.