[PATCH] don't save system time on s390 (#867856)

Dan HorĂ¡k dan at danny.cz
Thu Oct 18 13:02:53 UTC 2012


---
 pyanaconda/timezone.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/timezone.py b/pyanaconda/timezone.py
index 6d07317..61f7e75 100644
--- a/pyanaconda/timezone.py
+++ b/pyanaconda/timezone.py
@@ -96,6 +96,9 @@ def save_hw_clock(timezone):
 
     """
 
+    if iutil.isS390():
+        return
+
     cmd = "hwclock"
     args = ["--systohc"]
     if timezone.isUtc:
-- 
1.7.7.6



More information about the anaconda-patches mailing list