Skip to content
Snippets Groups Projects
Commit 8e842efd authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Force the correct flags for EFI system partition.

parent 21a64596
No related branches found
No related tags found
No related merge requests found
/* === This file is part of Calamares - <http://github.com/calamares> === /* === This file is part of Calamares - <http://github.com/calamares> ===
* *
* Copyright 2014-2016, Teo Mrnjavac <teo@kde.org> * Copyright 2014-2017, Teo Mrnjavac <teo@kde.org>
* *
* Calamares is free software: you can redistribute it and/or modify * Calamares is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -157,7 +157,7 @@ doAutopartition( PartitionCoreModule* core, Device* dev, const QString& luksPass ...@@ -157,7 +157,7 @@ doAutopartition( PartitionCoreModule* core, Device* dev, const QString& luksPass
->globalStorage() ->globalStorage()
->value( "efiSystemPartition" ) ->value( "efiSystemPartition" )
.toString() ); .toString() );
core->createPartition( dev, efiPartition ); core->createPartition( dev, efiPartition, PartitionTable::FlagEsp | PartitionTable::FlagBoot );
firstFreeSector = lastSector + 1; firstFreeSector = lastSector + 1;
} }
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment