From c1f21e7ca437e1e8a712ec9bed3bfdf3f4c893e5 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 19 Sep 2022 23:42:08 +0200 Subject: Add compression to /etc/fstab for btrfs subvolumes (#1473) * Adding a btrfs compression plugin to genfstab * Allowing the genfstab plugin to break on success --- archinstall/lib/disk/btrfs/__init__.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'archinstall/lib/disk/btrfs/__init__.py') diff --git a/archinstall/lib/disk/btrfs/__init__.py b/archinstall/lib/disk/btrfs/__init__.py index 3c183112..a26e0160 100644 --- a/archinstall/lib/disk/btrfs/__init__.py +++ b/archinstall/lib/disk/btrfs/__init__.py @@ -54,7 +54,3 @@ def create_subvolume(installation: Installer, subvolume_location :Union[pathlib. log(f"Creating a subvolume on {target}", level=logging.INFO) if (cmd := SysCommand(f"btrfs subvolume create {target}")).exit_code != 0: raise DiskError(f"Could not create a subvolume at {target}: {cmd}") - - -def manage_btrfs_subvolumes(installation :Installer, partition :Dict[str, str]) -> list: - raise Deprecated("Use setup_subvolumes() instead.") -- cgit v1.2.3-54-g00ecf