mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 00:18:22 -04:00
[bootloader] Fix error with systemd-boot when path exists in the ESP
This commit is contained in:
parent
b8c02587ae
commit
6e08da6c8d
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ def create_systemd_boot_conf(install_path, efi_dir, uuid, entry, entry_name, ker
|
|||
|
||||
# Copy kernel and initramfs to a subdirectory of /efi partition
|
||||
files_dir = os.path.join(install_path + efi_dir, entry_name)
|
||||
os.mkdir(files_dir)
|
||||
os.makedirs(files_dir, exist_ok=True)
|
||||
|
||||
kernel_path = install_path + kernel
|
||||
kernel_name = os.path.basename(kernel_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue