[partition] Repair comparison

This commit is contained in:
Adriaan de Groot 2023-11-14 13:50:08 +01:00
parent 65e0740c49
commit 8868ae956a

View File

@ -320,7 +320,7 @@ fillGSConfigurationEFI( Calamares::GlobalStorage* gs, const QVariantMap& configu
Calamares::Partition::PartitionSize part_size = Calamares::Partition::PartitionSize( efiMinimumSize );
if ( part_size.isValid() )
{
if ( part_size > PartUtils::efiFilesystemRecommendedSize() )
if ( part_size.toBytes() > PartUtils::efiFilesystemRecommendedSize() )
{
cWarning() << "EFI minimum size" << efiMinimumSize << "is larger than the recommended size"
<< efiRecommendedSize << ", ignored.";