index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Luna <30698906+Lunarequest@users.noreply.github.com> | 2022-05-21 21:21:11 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-21 17:51:11 +0200 |
commit | 33ce7dbd8baf5402a20e850f503390b9c229e698 (patch) | |
tree | 6dc53c50efbb30bb9ead599df0ba5e1ea4d65a35 /archinstall/lib | |
parent | 9e7565a9fbb4e3e9c908c8200e31fff126be5f0d (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 4 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 85805ec2..e3bd16d3 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -775,7 +775,9 @@ class Installer: # And in which case we should do some clean up. # Install the boot loader - if SysCommand(f'/usr/bin/arch-chroot {self.target} bootctl --path=/boot install').exit_code != 0: + try: + SysCommand(f'/usr/bin/arch-chroot {self.target} bootctl --path=/boot install') + except SysCallError: # Fallback, try creating the boot loader without touching the EFI variables SysCommand(f'/usr/bin/arch-chroot {self.target} bootctl --no-variables --path=/boot install') |