From cc5bcdc6079fcdaa12667b8fdb6b2cf72c30b32d Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Sat, 27 Jul 2024 03:51:17 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20disk:=20fix=20btrfs=20subvol=20a?= =?UTF-8?q?ppend=20for=20devenv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/disk.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/disk.cpp b/src/disk.cpp index 36ee3fd..ca455be 100644 --- a/src/disk.cpp +++ b/src/disk.cpp @@ -118,13 +118,13 @@ void btrfs_create_subvols(std::vector& 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);