/[gli]/branches/overhaul/src/templates/x86ArchitectureTemplate.py
Gentoo

Diff of /branches/overhaul/src/templates/x86ArchitectureTemplate.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1231 Revision 1277
3# This source code is distributed under the terms of version 2 of the GNU 3# This source code is distributed under the terms of version 2 of the GNU
4# General Public License as published by the Free Software Foundation, a copy 4# General Public License as published by the Free Software Foundation, a copy
5# of which can be found in the main directory of this project. 5# of which can be found in the main directory of this project.
6Gentoo Linux Installer 6Gentoo Linux Installer
7 7
8$Id: x86ArchitectureTemplate.py,v 1.95 2006/01/07 23:16:08 agaffney Exp $ 8$Id: x86ArchitectureTemplate.py,v 1.96 2006/02/06 15:41:19 agaffney Exp $
9Copyright 2004 Gentoo Technologies Inc. 9Copyright 2004 Gentoo Technologies Inc.
10 10
11 11
12This fills in x86 specific functions. 12This fills in x86 specific functions.
13""" 13"""
371# time.sleep(1) 371# time.sleep(1)
372 # one bit of extra sleep is needed, as there is a blip still 372 # one bit of extra sleep is needed, as there is a blip still
373# time.sleep(1) 373# time.sleep(1)
374 374
375 tries = 0 375 tries = 0
376 while tries < 4: 376 while tries <= 10:
377 # now the actual command 377 # now the actual command
378 cmd = "%s %s %s" % (cmdname,newpart['mkfsopts'],devnode) 378 cmd = "%s %s %s" % (cmdname,newpart['mkfsopts'],devnode)
379 self._logger.log(" Formatting partition %s as %s with: %s" % (str(part),newpart['type'],cmd)) 379 self._logger.log(" Formatting partition %s as %s with: %s" % (str(part),newpart['type'],cmd))
380 # If logging is not done, then you get errors: 380 # If logging is not done, then you get errors:
381 # PartitionFormatError :FATAL: partition: could't create ext2 filesystem on /dev/hda1 381 # PartitionFormatError :FATAL: partition: could't create ext2 filesystem on /dev/hda1

Legend:
Removed from v.1231  
changed lines
  Added in v.1277

  ViewVC Help
Powered by ViewVC 1.1.20