fix: create missing directories

This commit is contained in:
Peter Šurda 2021-03-02 20:33:48 +01:00
parent f41bf09a62
commit 1ec42b9c79
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -50,9 +50,11 @@ function install_syslinux()
mount_efi "$drive" mount_efi "$drive"
# legacy # legacy
mkdir -p "$mnt"/syslinux
cp /usr/lib/syslinux/modules/bios/*.c32 "$mnt"/syslinux/ cp /usr/lib/syslinux/modules/bios/*.c32 "$mnt"/syslinux/
# UEFI # UEFI
mkdir -p "$mnt"/EFI/BOOT
cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi "$mnt"/EFI/BOOT/BOOTX64.EFI cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi "$mnt"/EFI/BOOT/BOOTX64.EFI
cp /usr/lib/syslinux/modules/efi64/ldlinux.e64 "$mnt"/EFI/BOOT/ldlinux.e64 cp /usr/lib/syslinux/modules/efi64/ldlinux.e64 "$mnt"/EFI/BOOT/ldlinux.e64
cp /usr/lib/syslinux/modules/efi64/*.c32 "$mnt"/EFI/BOOT/ cp /usr/lib/syslinux/modules/efi64/*.c32 "$mnt"/EFI/BOOT/