From ae66a451160cea54a18aa3e9b91fd2f626e763f8 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 13 Nov 2019 11:51:51 +0100 Subject: Added a workaround for systemd boot-install. See discussion here: https://github.com/systemd/systemd/issues/13603 --- archinstall.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archinstall.py b/archinstall.py index 3d1dbac5..11149ff7 100644 --- a/archinstall.py +++ b/archinstall.py @@ -754,7 +754,8 @@ if __name__ == '__main__': mkinit.write('FILES=()\n') mkinit.write('HOOKS=(base udev autodetect modconf block encrypt filesystems keyboard fsck)\n') o = b''.join(sys_command('/usr/bin/arch-chroot /mnt mkinitcpio -p linux').exec()) - o = b''.join(sys_command('/usr/bin/arch-chroot /mnt bootctl --path=/boot install').exec()) + ## WORKAROUND: https://github.com/systemd/systemd/issues/13603#issuecomment-552246188 + o = b''.join(sys_command('/usr/bin/arch-chroot /mnt bootctl --no-variables --path=/boot install').exec()) with open('/mnt/boot/loader/loader.conf', 'w') as loader: loader.write('default arch\n') -- cgit v1.2.3-70-g09d2