Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorcodefiles <11915375+codefiles@users.noreply.github.com>2023-06-12 05:36:19 -0400
committerGitHub <noreply@github.com>2023-06-12 11:36:19 +0200
commit77710883b01f3675b38f2224e52f012da89775de (patch)
treee0fef682e543c47177f1d923270d80d8925c15a9 /archinstall/lib
parent1b0c8f3ce3bc7887632f0d08b7afe8073f7a3958 (diff)
Update bootctl --path option to --esp-path (#1854)
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/installer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index e3dd3f04..3fcba39c 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -798,10 +798,10 @@ class Installer:
# Install the boot loader
try:
- SysCommand(f'/usr/bin/arch-chroot {self.target} bootctl --path=/boot install')
+ SysCommand(f'/usr/bin/arch-chroot {self.target} bootctl --esp-path=/boot install')
except SysCallError:
# Fallback, try creating the boot loader without touching the EFI variables
- SysCommand(f'/usr/bin/arch-chroot {self.target} bootctl --no-variables --path=/boot install')
+ SysCommand(f'/usr/bin/arch-chroot {self.target} bootctl --no-variables --esp-path=/boot install')
# Ensure that the /boot/loader directory exists before we try to create files in it
if not os.path.exists(f'{self.target}/boot/loader'):