Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk/filesystem.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-11-16 15:15:21 +0000
committerGitHub <noreply@github.com>2021-11-16 15:15:21 +0000
commitc16872531e4c70343a472276f91fceae57ddc9ac (patch)
tree4c958892f0685fa8c0690b480620fe1f6fe6254d /archinstall/lib/disk/filesystem.py
parentfd2eb742035f99d0c776452506f41532938b5d9e (diff)
parent4adb75c34b8190e6dcd01a59fa67eea46861954e (diff)
Merge PR #714 - Fix empty drives causing issues
* Removed the GPT vs MBR lookup on __enter__ * Removed redundant `boot_partition` lookup during GRUB configuration
Diffstat (limited to 'archinstall/lib/disk/filesystem.py')
-rw-r--r--archinstall/lib/disk/filesystem.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/archinstall/lib/disk/filesystem.py b/archinstall/lib/disk/filesystem.py
index cf2a286e..2eb1864d 100644
--- a/archinstall/lib/disk/filesystem.py
+++ b/archinstall/lib/disk/filesystem.py
@@ -20,12 +20,6 @@ class Filesystem:
self.mode = mode
def __enter__(self, *args, **kwargs):
- # TODO: partition_table_type is hardcoded to GPT at the moment. This has to be changed.
- if self.mode == self.blockdevice.partition_table_type:
- log(f'Kept partition format {self.mode} for {self.blockdevice}', level=logging.DEBUG)
- else:
- raise DiskError(f'The selected partition table format {self.mode} does not match that of {self.blockdevice}.')
-
return self
def __repr__(self):