[partition] Ignoring LVM devices in PartUtils::getDevices to prevent installing bootloader in LVM VG.

This commit is contained in:
Caio Carvalho 2018-04-30 00:40:54 -03:00 committed by Philip
parent 311f13d479
commit 4121a108ab

View File

@ -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;