From 89bb819af298adee6abba85aecb2d9a74f1c3248 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 21 Jan 2021 20:21:31 +0100 Subject: Fixes #88 - ext4 paritions incorrectly labeled --- archinstall/lib/disk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archinstall/lib/disk.py') 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] -- cgit v1.2.3-54-g00ecf