From a878d9763f7e155de58a721e27c5f23ac498d5de Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 7 Jul 2015 19:21:13 +0200 Subject: [PATCH] Don't do grubcfg if we're not installing any boot loader. --- src/modules/grubcfg/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/grubcfg/main.py b/src/modules/grubcfg/main.py index e8c3413fc..5ab041170 100644 --- a/src/modules/grubcfg/main.py +++ b/src/modules/grubcfg/main.py @@ -134,6 +134,9 @@ def run(): :return: """ + if libcalamares.globalstorage.value("bootLoader") is None: + return None + partitions = libcalamares.globalstorage.value("partitions") root_mount_point = libcalamares.globalstorage.value("rootMountPoint") branding = libcalamares.globalstorage.value("branding")