mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
[partition] Avoid KPMCore warnings
- Get ready for KPMCore post-3.3.0, which deprecates a bunch of Flag<foo> and State<foo> in preparation of enum classes.
This commit is contained in:
parent
5d6d2b8078
commit
2a2795c54c
9 changed files with 29 additions and 20 deletions
|
@ -129,7 +129,7 @@ doAutopartition( PartitionCoreModule* core, Device* dev, Choices::AutoPartitionO
|
|||
FileSystem::Fat32,
|
||||
firstFreeSector,
|
||||
lastSector,
|
||||
PartitionTable::FlagNone
|
||||
KPM_PARTITION_FLAG(None)
|
||||
);
|
||||
PartitionInfo::setFormat( efiPartition, true );
|
||||
PartitionInfo::setMountPoint( efiPartition, o.efiPartitionMountPoint );
|
||||
|
@ -178,7 +178,7 @@ doAutopartition( PartitionCoreModule* core, Device* dev, Choices::AutoPartitionO
|
|||
FileSystem::LinuxSwap,
|
||||
lastSectorForRoot + 1,
|
||||
dev->totalLogical() - 1,
|
||||
PartitionTable::FlagNone
|
||||
KPM_PARTITION_FLAG(None)
|
||||
);
|
||||
}
|
||||
else
|
||||
|
@ -191,7 +191,7 @@ doAutopartition( PartitionCoreModule* core, Device* dev, Choices::AutoPartitionO
|
|||
lastSectorForRoot + 1,
|
||||
dev->totalLogical() - 1,
|
||||
o.luksPassphrase,
|
||||
PartitionTable::FlagNone
|
||||
KPM_PARTITION_FLAG(None)
|
||||
);
|
||||
}
|
||||
PartitionInfo::setFormat( swapPartition, true );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue