From ebcb5ae7953bb018f485f9b7ba7d181ff998eb45 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 8 Jul 2020 22:22:24 +0000 Subject: Fixed a bug where minimal_installation() didn't return anything. --- archinstall/lib/installer.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'archinstall') diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index a397e1bc..58bd5123 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -85,6 +85,8 @@ class Installer(): mkinit.write('HOOKS=(base udev autodetect modconf block encrypt filesystems keyboard fsck)\n') sys_command(f'/usr/bin/arch-chroot {self.mountpoint} mkinitcpio -p linux') + return True + def add_bootloader(self): log(f'Adding bootloader to {self.boot_partition}') o = b''.join(sys_command(f'/usr/bin/arch-chroot {self.mountpoint} bootctl --no-variables --path=/boot install')) -- cgit v1.2.3-70-g09d2