Started working on the load_layout function
This commit is contained in:
parent
25e835ce3e
commit
5701ef9539
|
|
@ -570,6 +570,12 @@ class Filesystem:
|
||||||
SysCommand('sync')
|
SysCommand('sync')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
def load_layout(self, layout :dict):
|
||||||
|
for partition in layout:
|
||||||
|
print(partition)
|
||||||
|
|
||||||
|
exit(0)
|
||||||
|
|
||||||
def find_partition(self, mountpoint):
|
def find_partition(self, mountpoint):
|
||||||
for partition in self.blockdevice:
|
for partition in self.blockdevice:
|
||||||
if partition.target_mountpoint == mountpoint or partition.mountpoint == mountpoint:
|
if partition.target_mountpoint == mountpoint or partition.mountpoint == mountpoint:
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ def perform_filesystem_operations():
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if archinstall.arguments.get('harddrives', None):
|
if archinstall.arguments.get('harddrives', None):
|
||||||
print(f" ! Formatting {archinstall.arguments['harddrive']} in ", end='')
|
print(f" ! Formatting {archinstall.arguments['harddrives']} in ", end='')
|
||||||
archinstall.do_countdown()
|
archinstall.do_countdown()
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue