Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
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
parentaf514cf65e08227056ef3e8d3b56a08ec5fbd92e (diff)
Removed redundant boot-partition retrieval.
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/14
-rw-r--r--archinstall/lib/installer.py1
2 files changed, 4 insertions, 1 deletions
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