Removed redundant boot-partition retrieval.
This commit is contained in:
parent
af514cf65e
commit
c70b360879
|
|
@ -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
|
||||||
|
|
@ -622,7 +622,6 @@ class Installer:
|
||||||
self.helper_flags['bootloader'] = True
|
self.helper_flags['bootloader'] = True
|
||||||
return True
|
return True
|
||||||
else:
|
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-install --target=i386-pc --recheck {boot_partition.path}')
|
||||||
SysCommand(f'/usr/bin/arch-chroot {self.target} grub-mkconfig -o /boot/grub/grub.cfg')
|
SysCommand(f'/usr/bin/arch-chroot {self.target} grub-mkconfig -o /boot/grub/grub.cfg')
|
||||||
self.helper_flags['bootloader'] = True
|
self.helper_flags['bootloader'] = True
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue