Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions archinstall/lib/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1177,10 +1177,10 @@ def _add_systemd_bootloader(
# Force EFI variables since bootctl detects arch-chroot
# as a container environemnt since v257 and skips them silently.
# https://github.com/systemd/systemd/issues/36174
SysCommand(f"arch-chroot {self.target} bootctl --variables=yes {' '.join(bootctl_options)} install")
SysCommand(f'arch-chroot {self.target} bootctl --variables=yes {" ".join(bootctl_options)} install')
except SysCallError:
# Fallback, try creating the boot loader without touching the EFI variables
SysCommand(f"arch-chroot {self.target} bootctl --variables=no {' '.join(bootctl_options)} install")
SysCommand(f'arch-chroot {self.target} bootctl --variables=no {" ".join(bootctl_options)} install')

# Loader configuration is stored in ESP/loader:
# https://man.archlinux.org/man/loader.conf.5
Expand Down