From c70b3608798f59666efa232f78cc4de0e8eac558 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 16 Nov 2021 14:41:00 +0000 Subject: Removed redundant boot-partition retrieval. --- archinstall/lib/installer.py | 1 - 1 file changed, 1 deletion(-) (limited to 'archinstall/lib') 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 -- cgit v1.2.3-70-g09d2