From 7922d82639f69f5b2761168f37173c7e639efa2a Mon Sep 17 00:00:00 2001 From: advaithm Date: Wed, 28 Apr 2021 07:41:34 +0530 Subject: trying to fix always failing bootloader install --- archinstall/lib/installer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 94324238..004a1743 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -442,6 +442,7 @@ class Installer(): root_device = f"{root_partition.path}" o = b''.join(sys_command(f'/usr/bin/arch-chroot {self.target} grub-install --target=i386-pc /dev/{root_device}')) sys_command('/usr/bin/arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg') + self.helper_flags['bootloader'] = bootloader return True else: raise RequirementError(f"Unknown (or not yet implemented) bootloader requested: {bootloader}") -- cgit v1.2.3-54-g00ecf