Correct operation order in EraseDiskPage for EFI.
This commit is contained in:
parent
d499fed8a0
commit
7a69aae0cb
@ -166,12 +166,12 @@ EraseDiskPage::doAutopartition( Device* dev )
|
||||
first_free_sector,
|
||||
lastSector
|
||||
);
|
||||
m_core->createPartition( dev, efiPartition );
|
||||
PartitionInfo::setMountPoint( efiPartition, Calamares::JobQueue::instance()
|
||||
->globalStorage()
|
||||
->value( "efiSystemPartition" )
|
||||
.toString() );
|
||||
PartitionInfo::setFormat( efiPartition, true );
|
||||
m_core->createPartition( dev, efiPartition );
|
||||
first_free_sector = lastSector + 1;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user