Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-13 11:51:51 +0100
committerGitHub <noreply@github.com>2019-11-13 11:51:51 +0100
commitae66a451160cea54a18aa3e9b91fd2f626e763f8 (patch)
treef6f9457c3bf055b80ac4c9ae2b8b8c3230c220a9 /archinstall.py
parentbd38369e9b1d2da84700b7ed922e891d38314770 (diff)
Added a workaround for systemd boot-install.
See discussion here: https://github.com/systemd/systemd/issues/13603
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py3
1 files changed, 2 insertions, 1 deletions
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')