Spelling error on systemd-bootctl.
This commit is contained in:
parent
d899a1473f
commit
fd3c29f486
|
|
@ -192,7 +192,7 @@ class Installer():
|
||||||
def add_bootloader(self, bootloader='systemd-bootctl'):
|
def add_bootloader(self, bootloader='systemd-bootctl'):
|
||||||
self.log(f'Adding bootloader {bootloader} to {self.boot_partition}')
|
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'))
|
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:
|
with open(f'{self.mountpoint}/boot/loader/loader.conf', 'w') as loader:
|
||||||
loader.write('default arch\n')
|
loader.write('default arch\n')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue