index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Reid <reid@griffin.localdomain> | 2021-01-22 16:40:46 +0200 |
---|---|---|
committer | Reid <reid@griffin.localdomain> | 2021-01-22 16:40:46 +0200 |
commit | eb7f44d03dc3635c4cf4a0c719977c824b5e7a87 (patch) | |
tree | 1b2c3f80a5ef17921413e87e2c8605d198f75a7f /archinstall | |
parent | 10131537448e96237a48a399370890331c7b0319 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 4 | ||||
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index e9fa12a0..499bb5bc 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -138,6 +138,10 @@ class Partition(): if (handle:= sys_command(f'/usr/bin/mkfs.xfs -f {self.path}')).exit_code != 0: raise DiskError(f'Could not format {self.path} with {filesystem} because: {b"".join(handle)}') self.filesystem = 'xfs' + elif filesystem == 'f2fs': + if (handle:= sys_command(f'/usr/bin/mkfs.f2fs -f {self.path}')).exit_code != 0: + raise DiskError(f'Could not format {self.path} with {filesystem} because: {b"".join(handle)}') + self.filesystem = 'f2fs' else: raise DiskError(f'Fileformat {filesystem} is not yet implemented.') return True diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 8c22b51f..b3837bb8 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -192,6 +192,8 @@ class Installer(): self.base_packages.append('btrfs-progs') if self.partition.filesystem == 'xfs': self.base_packages.append('xfsprogs') + if self.partition.filesystem == 'f2fs': + self.base_packages.append('f2fs-tools') self.pacstrap(self.base_packages) #self.genfstab() |