mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
[partition] Find Esp partition with modern flags.
This commit is contained in:
parent
94b6c95c44
commit
637d6ad752
1 changed files with 1 additions and 10 deletions
|
@ -504,16 +504,7 @@ PartitionCoreModule::scanForEfiSystemPartitions()
|
|||
}
|
||||
|
||||
QList< Partition* > efiSystemPartitions =
|
||||
KPMHelpers::findPartitions( devices,
|
||||
[]( Partition* partition ) -> bool
|
||||
{
|
||||
if ( partition->activeFlags().testFlag( PartitionTable::FlagEsp ) )
|
||||
{
|
||||
cDebug() << "Found EFI system partition at" << partition->partitionPath();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
} );
|
||||
KPMHelpers::findPartitions( devices, PartUtils::isEfiBootable );
|
||||
|
||||
if ( efiSystemPartitions.isEmpty() )
|
||||
cDebug() << "WARNING: system is EFI but no EFI system partitions found.";
|
||||
|
|
Loading…
Add table
Reference in a new issue