From 6b2088c94e72d739862606060d48ba122bcb54c4 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 6 Jul 2021 15:34:13 +0200 Subject: [PATCH] [mount] Restore @home subvolume In 942221c764a8622c9b23d29b1db291404af0f63b the fixed-setup (with /@ and /@home) was replaced by the configurable btrfs layout, but the default went away. Restore the two-subvolume layout if nothing is configured. --- src/modules/mount/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mount/main.py b/src/modules/mount/main.py index 8f019f1a3..50eba72cb 100644 --- a/src/modules/mount/main.py +++ b/src/modules/mount/main.py @@ -42,7 +42,7 @@ def get_btrfs_subvolumes(): if btrfs_subvolumes is None: libcalamares.utils.warning("No configuration for btrfsSubvolumes") if not btrfs_subvolumes: - btrfs_subvolumes = [ dict(mountPoint="/", subvolume="/@") ] + btrfs_subvolumes = [ dict(mountPoint="/", subvolume="/@"), dict(mountPoint="/home", subvolume="/@home") ] return btrfs_subvolumes