Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Calamares
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
Calamares
Commits
6d486bbc
Commit
6d486bbc
authored
8 years ago
by
Teo Mrnjavac
Browse files
Options
Downloads
Patches
Plain Diff
Improve EFI configuration check in bootloader.
parent
9c481959
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/bootloader/main.py
+13
-1
13 additions, 1 deletion
src/modules/bootloader/main.py
with
13 additions
and
1 deletion
src/modules/bootloader/main.py
+
13
−
1
View file @
6d486bbc
...
...
@@ -9,7 +9,7 @@
# Copyright 2014, Benjamin Vaudour <benjamin.vaudour@yahoo.fr>
# Copyright 2014, Kevin Kofler <kevin.kofler@chello.at>
# Copyright 2015, Philip Mueller <philm@manjaro.org>
# Copyright 2016, Teo Mrnjavac <teo@kde.org>
# Copyright 2016
-2017
, Teo Mrnjavac <teo@kde.org>
#
# Calamares is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -294,6 +294,18 @@ def run():
if
libcalamares
.
globalstorage
.
value
(
"
bootLoader
"
)
is
None
and
fw_type
!=
"
efi
"
:
return
None
partitions
=
libcalamares
.
globalstorage
.
value
(
"
partitions
"
)
if
fw_type
==
"
efi
"
:
esp_found
=
False
for
partition
in
partitions
:
if
partition
[
"
mountPoint
"
]
==
libcalamares
.
globalstorage
.
value
(
"
efiSystemPartition
"
):
esp_found
=
True
if
not
esp_found
:
return
None
prepare_bootloader
(
fw_type
)
return
None
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment