mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04: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
|
// Update LVM::pvList
|
||||||
LvmDevice::scanSystemLVM( physicalDevices );
|
LvmDevice::scanSystemLVM( physicalDevices );
|
||||||
|
|
||||||
|
#ifdef WITH_KPMCOREGT33
|
||||||
|
for ( auto p : LVM::pvList::list() )
|
||||||
|
#else
|
||||||
for ( auto p : LVM::pvList )
|
for ( auto p : LVM::pvList )
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
m_lvmPVs << p.partition().data();
|
m_lvmPVs << p.partition().data();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue