git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3af443
)
- one second sleep required after wiping partition table on some hardware
author
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 30 May 2006 02:53:40 +0000
(
02:53
+0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 30 May 2006 02:53:40 +0000
(
02:53
+0000)
source/steps/InstallPartitionDisks.py
patch
|
blob
|
history
diff --git
a/source/steps/InstallPartitionDisks.py
b/source/steps/InstallPartitionDisks.py
index
72ffa93
..
9f7d4c7
100644
(file)
--- a/
source/steps/InstallPartitionDisks.py
+++ b/
source/steps/InstallPartitionDisks.py
@@
-304,6
+304,9
@@
def create_lvm_physical_volume( part_path, vars, log ):
try:
# again, wipe any old data, this time on the partition
utils.sysexec( "dd if=/dev/zero of=%s bs=512 count=1" % part_path, log )
+ ### patch Thierry Parmentelat, required on some hardware
+ import time
+ time.sleep(1)
utils.sysexec( "pvcreate -fy %s" % part_path, log )
except BootManagerException, e:
log.write( "create_lvm_physical_volume failed.\n" )