mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 00:48:22 -04:00
[partition] Handle partition flag FlagEsp post KPMCore 3.3.0
This commit is contained in:
parent
2a2795c54c
commit
68f29ebf20
3 changed files with 4 additions and 2 deletions
|
@ -407,7 +407,7 @@ isEfiBootable( const Partition* candidate )
|
|||
auto flags = PartitionInfo::flags( candidate );
|
||||
|
||||
/* If bit 17 is set, old-style Esp flag, it's OK */
|
||||
if ( flags.testFlag( PartitionTable::FlagEsp ) )
|
||||
if ( flags.testFlag( KPM_PARTITION_FLAG_ESP ) )
|
||||
return true;
|
||||
|
||||
/* Otherwise, if it's a GPT table, Boot (bit 0) is the same as Esp */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue