mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
[partition] fix build with latest kpmcore.
This commit is contained in:
parent
8dc95f3e75
commit
22aa6dc132
1 changed files with 4 additions and 0 deletions
|
@ -665,7 +665,11 @@ PartitionCoreModule::scanForLVMPVs()
|
|||
// Update LVM::pvList
|
||||
LvmDevice::scanSystemLVM( physicalDevices );
|
||||
|
||||
#ifdef WITH_KPMCOREGT33
|
||||
for ( auto p : LVM::pvList::list() )
|
||||
#else
|
||||
for ( auto p : LVM::pvList )
|
||||
#endif
|
||||
{
|
||||
m_lvmPVs << p.partition().data();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue