Spelling error on systemd-bootctl.

This commit is contained in:
Anton Hvornum 2020-11-04 22:59:12 +00:00
parent d899a1473f
commit fd3c29f486
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class Installer():
def add_bootloader(self, bootloader='systemd-bootctl'):
self.log(f'Adding bootloader {bootloader} to {self.boot_partition}')
if bootloader == 'systemd-bootctle':
if bootloader == 'systemd-bootctl':
o = b''.join(sys_command(f'/usr/bin/arch-chroot {self.mountpoint} bootctl --no-variables --path=/boot install'))
with open(f'{self.mountpoint}/boot/loader/loader.conf', 'w') as loader:
loader.write('default arch\n')