Update bootctl --path option to --esp-path (#1854)
This commit is contained in:
parent
1b0c8f3ce3
commit
77710883b0
|
|
@ -798,10 +798,10 @@ class Installer:
|
||||||
|
|
||||||
# Install the boot loader
|
# Install the boot loader
|
||||||
try:
|
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:
|
except SysCallError:
|
||||||
# Fallback, try creating the boot loader without touching the EFI variables
|
# 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
|
# 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'):
|
if not os.path.exists(f'{self.target}/boot/loader'):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue