From a2264bcc2b9547f1d3b472be2111a26b686d9e25 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Sat, 21 Jan 2017 03:12:46 +0100 Subject: [PATCH] don't fail if no bootloader install path --- src/modules/bootloader/main.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/bootloader/main.py b/src/modules/bootloader/main.py index 0a86899bc..64d2e3f77 100644 --- a/src/modules/bootloader/main.py +++ b/src/modules/bootloader/main.py @@ -240,7 +240,13 @@ def install_grub(efi_directory, fw_type): efi_file_target[efi_bitness]]) else: print("Bootloader: grub (bios)") + if libcalamares.globalstorage.value("bootLoader") is None: + return + boot_loader = libcalamares.globalstorage.value("bootLoader") + if boot_loader["installPath"] is None: + return + check_target_env_call([libcalamares.job.configuration["grubInstall"], "--target=i386-pc", "--recheck",