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/1 | 4 ++++ archinstall/lib/installer.py | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 archinstall/1 diff --git a/archinstall/1 b/archinstall/1 new file mode 100644 index 00000000..67dbff9e --- /dev/null +++ b/archinstall/1 @@ -0,0 +1,4 @@ +grep: lib/__pycache__/disk.cpython-39.pyc: binary file matches +grep: lib/__pycache__/installer.cpython-39.pyc: binary file matches +grep: lib/__pycache__/user_interaction.cpython-39.pyc: binary file matches +grep: lib/disk/__pycache__/helpers.cpython-39.pyc: binary file matches 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-54-g00ecf