Merge pull request #398 from dylanmtaylor/patch-5

Partially revert hasUEFI grub/efibootmgr change to fix GRUB
This commit is contained in:
Anton Hvornum 2021-04-30 08:08:00 +00:00 committed by GitHub
commit fcff362b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -433,6 +433,7 @@ class Installer():
self.pacstrap('grub')
if hasUEFI():
self.pacstrap('efibootmgr')`
o = b''.join(sys_command(f'/usr/bin/arch-chroot {self.target} grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB'))
sys_command('/usr/bin/arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg')
return True