mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
[partition] [fsresizer] Adjust to new #define
- Using KPMCORE4API is clearer than just relying on a version number
This commit is contained in:
parent
9159761171
commit
c0710cabe4
6 changed files with 9 additions and 9 deletions
|
@ -683,7 +683,7 @@ PartitionCoreModule::scanForLVMPVs()
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef WITH_KPMCOREGT33
|
||||
#ifdef WITH_KPMCORE4API
|
||||
VolumeManagerDevice::scanDevices( physicalDevices );
|
||||
|
||||
for ( auto p : LVM::pvList::list() )
|
||||
|
@ -724,7 +724,7 @@ PartitionCoreModule::scanForLVMPVs()
|
|||
if ( innerFS && innerFS->type() == FileSystem::Type::Lvm2_PV )
|
||||
m_lvmPVs << p;
|
||||
}
|
||||
#ifdef WITH_KPMCOREGT33
|
||||
#ifdef WITH_KPMCORE4API
|
||||
else if ( p->fileSystem().type() == FileSystem::Type::Luks2 )
|
||||
{
|
||||
// Encrypted LVM PVs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue