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:
authorEttore Forigo <ettore.forigo@gmail.com>2021-11-15 01:58:06 +0100
committerGitHub <noreply@github.com>2021-11-15 01:58:06 +0100
commit44109b851ab5d09e6d94911a25b60f2cc02a5674 (patch)
tree1d80ec81e9c5bcbd152f20f888074a19cee0bd2a /archinstall/lib/installer.py
parent34cd2c18d378cd0c37499852ac67b8d35bf5b92b (diff)
Fix boot partition detection for EFISTUB bootloader
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index fcf065eb..b7c5cf92 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -663,9 +663,7 @@ class Installer:
log(f"Identifying root partition by PART-UUID on {root_partition}, looking for '{root_partition.uuid}'.", level=logging.DEBUG)
kernel_parameters.append(f'root=PARTUUID={root_partition.uuid} rw intel_pstate=no_hwp {" ".join(self.KERNEL_PARAMS)}')
- boot_partition = find_partition_by_mountpoint(self.partitions, relative_mountpoint=f"/boot")
-
- SysCommand(f'efibootmgr --disk {boot_partition[:-1]} --part {boot_partition[-1]} --create --label "{label}" --loader {loader} --unicode \'{" ".join(kernel_parameters)}\' --verbose')
+ SysCommand(f'efibootmgr --disk {boot_partition.path[:-1]} --part {boot_partition.path[-1]} --create --label "{label}" --loader {loader} --unicode \'{" ".join(kernel_parameters)}\' --verbose')
self.helper_flags['bootloader'] = bootloader
else: