[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 2/2] timeout= in yaboot.conf is in tenths of seconds (#692409)
- From: David Cantrell <dcantrell redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH 2/2] timeout= in yaboot.conf is in tenths of seconds (#692409)
- Date: Thu, 31 Mar 2011 08:29:38 -1000
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\n" % partNumber)
- f.write("timeout=%s\n" % (self.timeout or 80))
+ f.write("timeout=%s\n" % ((self.timeout * 10) or 80))
f.write("install=/usr/lib/yaboot/yaboot\n")
f.write("delay=5\n")
f.write("enablecdboot\n")
--
1.7.1
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]