[bootloader] use generic file names instead of grub

- see also #839
This commit is contained in:
Philip 2017-10-23 08:28:59 -04:00
parent 929d302f4d
commit 3275a33827

View File

@ -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: