index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-05-14 21:09:06 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-05-14 21:09:06 +0200 |
commit | 0df6eced77ce54177a9a38f1d6d2bc3fb8f91fc9 (patch) | |
tree | 89b47af6727d2dbb24a0538d979eb1a701336417 /archinstall/lib | |
parent | 71b14ec9fd6e4166fd43c5d1c19b283b5c9efea6 (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 4 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 6c87b088..03b49f77 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -381,7 +381,9 @@ class Installer(): # And in which case we should do some clean up. # Install the boot loader - sys_command(f'/usr/bin/arch-chroot {self.target} bootctl --path=/boot install') + if sys_command(f'/usr/bin/arch-chroot {self.target} bootctl --path=/boot install').exit_code != 0: + # Fallback, try creating the boot loader without touching the EFI variables + sys_command(f'/usr/bin/arch-chroot {self.target} bootctl --no-variables --path=/boot install') # Modify or create a loader.conf if os.path.isfile(f'{self.target}/boot/loader/loader.conf'): |