improve bootloader efi check
This commit is contained in:
parent
5392615053
commit
554ebcdff4
@ -282,10 +282,12 @@ def run():
|
||||
|
||||
:return:
|
||||
"""
|
||||
if libcalamares.globalstorage.value("bootLoader") is None:
|
||||
|
||||
fw_type = libcalamares.globalstorage.value("firmwareType")
|
||||
|
||||
if libcalamares.globalstorage.value("bootLoader") is None and fw_type != "efi":
|
||||
return None
|
||||
|
||||
fw_type = libcalamares.globalstorage.value("firmwareType")
|
||||
prepare_bootloader(fw_type)
|
||||
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user