Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/disk.py')
-rw-r--r--archinstall/lib/disk.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 79a8d3c8..be5b9edb 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -7,6 +7,7 @@ from typing import Optional
from .general import *
from .hardware import has_uefi
from .output import log
+from .disk2 import btrfs # TODO: rename disk2 to disk, once we migrate all the code here into a structure
ROOT_DIR_PATTERN = re.compile('^.*?/devices')
GPT = 0b00000001
@@ -121,7 +122,7 @@ def disk_layout_filesystem_checks(layout):
options['btrfs-subvolumes'] = input('Would you like to use BTRFS subvolumes? (Y/n)').strip().lower() in ('', 'y', 'yes')
if options['btrfs-subvolumes']:
- partition['filesystem']['subvolume'] = '@' # Detect /home etc, and set up sane defaults?
+ btrfs.create_subvolume(partition)
def suggest_single_disk_layout(block_device, default_filesystem=None):
if not default_filesystem: