[partition] Use API for consistent EFI-size GS key
While here, remove the textual entry in GS, which was unused.
This commit is contained in:
parent
449fba03be
commit
eb08c3facd
@ -286,8 +286,7 @@ fillGSConfigurationEFI( Calamares::GlobalStorage* gs, const QVariantMap& configu
|
|||||||
{
|
{
|
||||||
// Insert once as string, once as a size-in-bytes;
|
// Insert once as string, once as a size-in-bytes;
|
||||||
// changes to these keys should be synchronized with PartUtils.cpp
|
// changes to these keys should be synchronized with PartUtils.cpp
|
||||||
gs->insert( "efiSystemPartitionSize", sizeString );
|
gs->insert( PartUtils::efiFilesystemRecommendedSizeGSKey(), part_size.toBytes() );
|
||||||
gs->insert( "efiSystemPartitionSize_i", part_size.toBytes() );
|
|
||||||
|
|
||||||
// Assign long long int to long unsigned int to prevent compilation warning
|
// Assign long long int to long unsigned int to prevent compilation warning
|
||||||
auto byte_part_size = part_size.toBytes();
|
auto byte_part_size = part_size.toBytes();
|
||||||
|
Loading…
Reference in New Issue
Block a user