index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/disk.py | 5 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 92982499..7d4a34c6 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -352,6 +352,11 @@ class Filesystem(): b''.join(sys_command(f'sync')) return True + def find_root_partition(self): + for partition in self.blockdevice: + if partition.target_mountpoint == '/' or partition.mountpoint == '/': + return partition + def raw_parted(self, string:str): x = sys_command(f'/usr/bin/parted -s {string}') o = b''.join(x) |