Added a sleep for testing

This commit is contained in:
Anton Hvornum 2020-07-08 17:10:03 +00:00
parent a5f8dc6c68
commit bc8f6ce448
1 changed files with 3 additions and 1 deletions

View File

@ -39,10 +39,12 @@ class Installer():
log(f'Could not sync mirrors: {sync_mirrors.exit_code}')
def minimal_installation(self):
return self.pacstrap('base base-devel linux linux-firmware mkinitcpio btrfs-progs efibootmgr nano wpa_supplicant dialog'.split(' '), debug=True)
self.pacstrap('base base-devel linux linux-firmware btrfs-progs efibootmgr nano wpa_supplicant dialog'.split(' '), debug=True)
def add_bootloader(self, boot_partition):
log(f'Adding bootloader to {boot_partition}')
import time
time.sleep(10000)
os.makedirs(f'{self.mountpoint}/boot', exist_ok=True)
boot_partition.mount(f'{self.mountpoint}/boot')
o = b''.join(sys_command(f'/usr/bin/arch-chroot {self.mountpoint} bootctl --no-variables --path=/boot install'))