From 49093c4b5940c27b2fd9cbe42d949e769691bc3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Sat, 31 Jan 2015 15:06:54 +0000 Subject: [PATCH] [grub] fix SyntaxError ('invalid syntax', ('/usr/lib/calamares/modules/grub/main.py', 38, 76, ' chroot_call(["mkdir", "-p", "{!s}/EFI/boot".format(efi_directory)])])\n')) --- src/modules/grub/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/grub/main.py b/src/modules/grub/main.py index a5055224a..f66b3724d 100644 --- a/src/modules/grub/main.py +++ b/src/modules/grub/main.py @@ -35,7 +35,7 @@ def install_grub(boot_loader, fw_type): efi_bootloader_id = distribution.translate(file_name_sanitizer) check_chroot_call([libcalamares.job.configuration["grubInstall"], "--target=x86_64-efi", "--efi-directory={!s}".format(efi_directory), "--bootloader-id={!s}".format(efi_bootloader_id)]) # Workaround for some UEFI firmwares - chroot_call(["mkdir", "-p", "{!s}/EFI/boot".format(efi_directory)])]) + chroot_call(["mkdir", "-p", "{!s}/EFI/boot".format(efi_directory)]) chroot_call(["cp", "{!s}/EFI/{!s}/grubx64.efi".format(efi_directory,efi_bootloader_id), "{!s}/EFI/boot/bootx64.efi".format(efi_directory)]) else: install_path = boot_loader["installPath"]