mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
[partition] Fixing LVM scanning according to new kpmcore API
This commit is contained in:
parent
4caa401a07
commit
34e091833d
1 changed files with 5 additions and 3 deletions
|
@ -55,6 +55,7 @@
|
|||
#include <kpmcore/core/device.h>
|
||||
#include <kpmcore/core/lvmdevice.h>
|
||||
#include <kpmcore/core/partition.h>
|
||||
#include <kpmcore/core/volumemanagerdevice.h>
|
||||
#include <kpmcore/backend/corebackend.h>
|
||||
#include <kpmcore/backend/corebackendmanager.h>
|
||||
#include <kpmcore/fs/filesystemfactory.h>
|
||||
|
@ -686,12 +687,13 @@ PartitionCoreModule::scanForLVMPVs()
|
|||
}
|
||||
}
|
||||
|
||||
// Update LVM::pvList
|
||||
LvmDevice::scanSystemLVM( physicalDevices );
|
||||
|
||||
#ifdef WITH_KPMCOREGT33
|
||||
VolumeManagerDevice::scanDevices( physicalDevices );
|
||||
|
||||
for ( auto p : LVM::pvList::list() )
|
||||
#else
|
||||
LvmDevice::scanSystemLVM( physicalDevices );
|
||||
|
||||
for ( auto p : LVM::pvList )
|
||||
#endif
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue