Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-06-07 12:40:24 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-06-07 12:40:24 +0200
commit5701ef953919230f1478294cabcc66ccdbe95e34 (patch)
tree722f409688719f8193f1fbfa77628f818e1c8961 /archinstall/lib
parent25e835ce3e42d2c04cca9b2379723af7984c6fee (diff)
Started working on the load_layout function
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/disk.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 58e2eb59..0c46e779 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -570,6 +570,12 @@ class Filesystem:
SysCommand('sync')
return True
+ def load_layout(self, layout :dict):
+ for partition in layout:
+ print(partition)
+
+ exit(0)
+
def find_partition(self, mountpoint):
for partition in self.blockdevice:
if partition.target_mountpoint == mountpoint or partition.mountpoint == mountpoint: