Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-28 07:41:34 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-28 07:41:34 +0530
commit7922d82639f69f5b2761168f37173c7e639efa2a (patch)
treef2a1d52ea7fab18088374cb5c791f6512ddf585e
parent464cee46ed961627c7c2503302d1de6ebc7872e1 (diff)
trying to fix always failing bootloader install
-rw-r--r--archinstall/lib/installer.py1
1 files changed, 1 insertions, 0 deletions
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}")