X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FCheckHardwareRequirements.py;fp=source%2Fsteps%2FCheckHardwareRequirements.py;h=bff14f2b2407f7a804efdd8766b6912f8772e4de;hb=74805210999f262a76c24a7723e28edf02b95f93;hp=1344161340021a75f37e18296704665d336c01a5;hpb=8ec585b5f98b2c8e32044e178a30e05bd33fbcbe;p=bootmanager.git diff --git a/source/steps/CheckHardwareRequirements.py b/source/steps/CheckHardwareRequirements.py index 1344161..bff14f2 100644 --- a/source/steps/CheckHardwareRequirements.py +++ b/source/steps/CheckHardwareRequirements.py @@ -194,8 +194,8 @@ def Run( vars, log ): (major,minor,blocks,gb_size,readonly)= install_devices[device] # if the device string starts with - # planetlab, ignore it (could be old lvm setup) - if device[:14] == "/dev/planetlab": + # planetlab or dm- (device mapper), ignore it (could be old lvm setup) + if device[:14] == "/dev/planetlab" or device[:8] == "/dev/dm-": del install_devices[device] continue