🚧 gucc: fix btrfs subvol mountpoint

This commit is contained in:
Vladislav Nepogodin 2024-07-24 01:32:07 +04:00
parent 7ed150b536
commit 30a810138b
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -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{};