FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Development

 
 
LinkBack Thread Tools
 
Old 03-31-2011, 06:29 PM
David Cantrell
 
Default timeout= in yaboot.conf is in tenths of seconds (#692409)

We use seconds throughout anaconda for the bootloader timeout value, so
when we write it to yaboot.conf, make sure we write it in tenths of
seconds.
---
booty/ppc.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/booty/ppc.py b/booty/ppc.py
index 9626d62..a7c6af8 100644
--- a/booty/ppc.py
+++ b/booty/ppc.py
@@ -70,7 +70,7 @@ class ppcBootloaderInfo(bootloaderInfo):
% productName)

f.write("partition=%s
" % partNumber)
- f.write("timeout=%s
" % (self.timeout or 80))
+ f.write("timeout=%s
" % ((self.timeout * 10) or 80))
f.write("install=/usr/lib/yaboot/yaboot
")
f.write("delay=5
")
f.write("enablecdboot
")
--
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:41 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org