[partition] Handle partition flag FlagEsp post KPMCore 3.3.0

This commit is contained in:
Adriaan de Groot 2019-03-20 16:37:50 +01:00
parent 2a2795c54c
commit 68f29ebf20
3 changed files with 4 additions and 2 deletions

View file

@ -133,7 +133,7 @@ doAutopartition( PartitionCoreModule* core, Device* dev, Choices::AutoPartitionO
);
PartitionInfo::setFormat( efiPartition, true );
PartitionInfo::setMountPoint( efiPartition, o.efiPartitionMountPoint );
core->createPartition( dev, efiPartition, PartitionTable::FlagEsp );
core->createPartition( dev, efiPartition, KPM_PARTITION_FLAG_ESP );
firstFreeSector = lastSector + 1;
}
else