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-11-16 14:41:00 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2021-11-16 14:41:00 +0000
commitc70b3608798f59666efa232f78cc4de0e8eac558 (patch)
tree71d926644e373ba2b2c74a18f6bfd0d9cc065116 /archinstall/lib
parentaf514cf65e08227056ef3e8d3b56a08ec5fbd92e (diff)
Removed redundant boot-partition retrieval.
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/installer.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 22485020..5ec8bf17 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -622,7 +622,6 @@ class Installer:
self.helper_flags['bootloader'] = True
return True
else:
- boot_partition = find_partition_by_mountpoint(self.partitions, relative_mountpoint=f"/boot")
SysCommand(f'/usr/bin/arch-chroot {self.target} grub-install --target=i386-pc --recheck {boot_partition.path}')
SysCommand(f'/usr/bin/arch-chroot {self.target} grub-mkconfig -o /boot/grub/grub.cfg')
self.helper_flags['bootloader'] = True