From 3275a33827052faabc62aa3368028c2824dafc38 Mon Sep 17 00:00:00 2001 From: Philip Date: Mon, 23 Oct 2017 08:28:59 -0400 Subject: [PATCH] [bootloader] use generic file names instead of grub - see also #839 --- src/modules/bootloader/main.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/modules/bootloader/main.py b/src/modules/bootloader/main.py index c2cdc1108..ad88afcdc 100644 --- a/src/modules/bootloader/main.py +++ b/src/modules/bootloader/main.py @@ -266,7 +266,13 @@ def install_grub(efi_directory, fw_type): "64": os.path.join(install_efi_directory_firmware, efi_bootloader_id, "grubx64.efi")} - shutil.copy2(efi_file_source[efi_bitness], install_efi_boot_directory) + + efi_file_target = {"32": os.path.join(install_efi_boot_directory, + "bootia32.efi"), + "64": os.path.join(install_efi_boot_directory, + "bootx64.efi")} + + shutil.copy2(efi_file_source[efi_bitness], efi_file_target[efi_bitness]) else: print("Bootloader: grub (bios)") if libcalamares.globalstorage.value("bootLoader") is None: