mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
Refactor check for EFI system.
The TODO stands, to delegate this to KPMCore.
This commit is contained in:
parent
106f18e074
commit
7e66499f36
10 changed files with 31 additions and 21 deletions
|
@ -167,7 +167,7 @@ PartitionCoreModule::doInit()
|
|||
|
||||
//FIXME: this should be removed in favor of
|
||||
// proper KPM support for EFI
|
||||
if ( QDir( "/sys/firmware/efi/efivars" ).exists() )
|
||||
if ( PartUtils::isEfiSystem() )
|
||||
scanForEfiSystemPartitions();
|
||||
}
|
||||
|
||||
|
@ -461,7 +461,7 @@ PartitionCoreModule::refresh()
|
|||
|
||||
//FIXME: this should be removed in favor of
|
||||
// proper KPM support for EFI
|
||||
if ( QDir( "/sys/firmware/efi/efivars" ).exists() )
|
||||
if ( PartUtils::isEfiSystem() )
|
||||
scanForEfiSystemPartitions();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue