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:
authorAnton Hvornum <anton@hvornum.se>2021-01-21 20:21:31 +0100
committerGitHub <noreply@github.com>2021-01-21 20:21:31 +0100
commit89bb819af298adee6abba85aecb2d9a74f1c3248 (patch)
treefdd692060f0d5032cc97e2ba2604f51ad4405df5 /archinstall/lib/disk.py
parent5927060133c987dbf5510cfeb704a71c328891a9 (diff)
Fixes #88 - ext4 paritions incorrectly labeled
Diffstat (limited to 'archinstall/lib/disk.py')
-rw-r--r--archinstall/lib/disk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 3f03e52c..80dc4735 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -133,7 +133,7 @@ class Partition():
elif filesystem == 'ext4':
if (handle := sys_command(f'/usr/bin/mkfs.ext4 -F {self.path}')).exit_code != 0:
raise DiskError(f'Could not format {self.path} with {filesystem} because: {b"".join(handle)}')
- self.filesystem = 'fat32'
+ self.filesystem = 'ext4'
else:
raise DiskError(f'Fileformat {filesystem} is not yet implemented.')
return True
@@ -293,4 +293,4 @@ def harddrive(size=None, model=None, fuzzy=False):
if model and (collection[drive]['model'] is None or collection[drive]['model'].lower() != model.lower()):
continue
- return collection[drive] \ No newline at end of file
+ return collection[drive]