Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 42f71678..a0bcc2a6 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -1000,9 +1000,9 @@ class Installer:
root_partition = None
for partition in self.partitions:
print(partition, [partition.mountpoint], [self.target])
- if partition.mountpoint == self.target / 'boot':
+ if self.target / 'boot' in partition.mountpoints:
boot_partition = partition
- elif partition.mountpoint == self.target:
+ elif self.target in partition.mountpoints:
root_partition = partition
if boot_partition is None or root_partition is None: