From 5701ef953919230f1478294cabcc66ccdbe95e34 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 7 Jun 2021 12:40:24 +0200 Subject: Started working on the load_layout function --- archinstall/lib/disk.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'archinstall/lib') 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: -- cgit v1.2.3-70-g09d2