[PATCH 2/2] timeout= in yaboot.conf is in tenths of seconds (#692409)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux