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.
This commit is contained in:
Harald Sitter 2018-08-07 13:34:38 +02:00
parent e7947bd538
commit 81cab43701

View File

@ -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" )