Skip to content

Commit

Permalink
🚧 gucc: fix btrfs subvol mountpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jul 23, 2024
1 parent 7ed150b commit 30a8101
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gucc/src/btrfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ auto btrfs_mount_subvols(const std::vector<BtrfsSubvolume>& subvols, std::string
mount_option = mount_opts;
}

const auto& subvolume_mountpoint = fmt::format(FMT_COMPILE("{}{}"), root_mountpoint, subvol.subvolume);
// mount at the actual mountpoint where subvolume is going to be mounted after install
const auto& subvolume_mountpoint = fmt::format(FMT_COMPILE("{}{}"), root_mountpoint, subvol.mountpoint);

// TODO(vnepogodin): refactor create dir and mount into own function
std::error_code err{};
Expand Down

0 comments on commit 30a8101

Please sign in to comment.