From 81cab43701a746a28cfec95600b0fa0fea644641 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Tue, 7 Aug 2018 13:34:38 +0200 Subject: [PATCH] do not set active flags on the to-be ESP having ESP as active flag AND then trying to set ESP means nothing is set since kpmcore will think ESP is already set (it is listed as active after all). this ultimately meant that nothing was set since there was no delta between the requested flags and the already active flags. --- src/modules/partition/core/PartitionActions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/partition/core/PartitionActions.cpp b/src/modules/partition/core/PartitionActions.cpp index 68ad85cf2..54ccc192f 100644 --- a/src/modules/partition/core/PartitionActions.cpp +++ b/src/modules/partition/core/PartitionActions.cpp @@ -160,7 +160,7 @@ doAutopartition( PartitionCoreModule* core, Device* dev, const QString& luksPass FileSystem::Fat32, firstFreeSector, lastSector, - PartitionTable::FlagEsp + PartitionTable::FlagNone ); PartitionInfo::setFormat( efiPartition, true ); PartitionInfo::setMountPoint( efiPartition, gs->value( "efiSystemPartition" )