git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
when checking for usable disks, also skip disks starting with dm-
[bootmanager.git]
/
source
/
steps
/
CheckHardwareRequirements.py
diff --git
a/source/steps/CheckHardwareRequirements.py
b/source/steps/CheckHardwareRequirements.py
index
1344161
..
bff14f2
100644
(file)
--- 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
(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
del install_devices[device]
continue