From: Mark Huang Date: Fri, 7 Jul 2006 18:50:14 +0000 (+0000) Subject: - merge revision 1.6 X-Git-Tag: myplc-0_4-rc2~3 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=f3d42ef0360ae03c739c7efbe5f893efebeb09ff - merge revision 1.6 date: 2006/07/07 18:48:46; author: mlhuang; state: Exp; lines: +1 -1 - pass -ff to pvcreate to avoid warning about not being able to re-create a physical volume on an existing disk --- diff --git a/source/steps/InstallPartitionDisks.py b/source/steps/InstallPartitionDisks.py index 9f7d4c7..fcece53 100644 --- a/source/steps/InstallPartitionDisks.py +++ b/source/steps/InstallPartitionDisks.py @@ -307,7 +307,7 @@ def create_lvm_physical_volume( part_path, vars, log ): ### patch Thierry Parmentelat, required on some hardware import time time.sleep(1) - utils.sysexec( "pvcreate -fy %s" % part_path, log ) + utils.sysexec( "pvcreate -ffy %s" % part_path, log ) except BootManagerException, e: log.write( "create_lvm_physical_volume failed.\n" ) return 0