[partition] Ignoring LVM devices in PartUtils::getDevices to prevent installing bootloader in LVM VG.
This commit is contained in:
parent
311f13d479
commit
4121a108ab
@ -152,6 +152,11 @@ QList< Device* > getDevices( DeviceType which, qint64 minimumSize )
|
||||
cDebug() << " .. Removing too-small" << it;
|
||||
it = erase(devices, it );
|
||||
}
|
||||
else if ( (*it)->type() == Device::LVM_Device )
|
||||
{
|
||||
cDebug() << " .. Removing LVM device from list " << it;
|
||||
it = erase(devices, it );
|
||||
}
|
||||
else
|
||||
++it;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user