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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 8a0acf64..f8f59cc0 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -716,7 +716,7 @@ class Installer:
def _get_root_partition(self) -> Optional[disk.PartitionModification]:
for mod in self._disk_config.device_modifications:
- if root := mod.get_root_partition(self._disk_config.relative_mountpoint):
+ if root := mod.get_root_partition():
return root
return None
@@ -903,8 +903,8 @@ class Installer:
add_options = [
'--target=x86_64-efi',
- f'--efi-directory={efi_partition.mountpoint}'
- f'--boot-directory={boot_partition.mountpoint if boot_partition else "/boot"}'
+ f'--efi-directory={efi_partition.mountpoint}',
+ f'--boot-directory={boot_partition.mountpoint if boot_partition else "/boot"}',
'--bootloader-id=GRUB',
'--removable'
]