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