summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-10-09 16:31:50 +0000
committerMatt Wilson <msw@redhat.com>1999-10-09 16:31:50 +0000
commitafbfaf7f78c2e016b6a16b0f543f0f674bbbb0a6 (patch)
tree2c456f4bf28fb2704b6c01deb802f38dc3786828 /todo.py
parent8784f7d04b200de8408c3e9933f1f01fdd8f6fde (diff)
downloadanaconda-afbfaf7f78c2e016b6a16b0f543f0f674bbbb0a6.tar.gz
anaconda-afbfaf7f78c2e016b6a16b0f543f0f674bbbb0a6.tar.xz
anaconda-afbfaf7f78c2e016b6a16b0f543f0f674bbbb0a6.zip
clock set on alpha
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index ad8a3a646..e5d639d54 100644
--- a/todo.py
+++ b/todo.py
@@ -5,7 +5,7 @@ arch = iutil.getArch ()
if arch == "sparc":
from silo import SiloInstall
elif arch == "alpha":
- from milo import MiloInstall
+ from milo import MiloInstall, onMILO
import string
import socket
import crypt
@@ -1316,6 +1316,16 @@ class ToDo:
arch = iutil.getArch ()
+ if arch == "alpha":
+ # if were're on alpha with ARC console, set the clock
+ # so that our installed files won't be in the future
+ if onMILO ():
+ args = ("clock", "-A", "-s")
+ try:
+ iutil.execWithRedirect('/sbin/clock', args)
+ except:
+ pass
+
# this is NICE and LATE. It lets kickstart/server/workstation
# installs detect this properly
if (self.hdList.has_key('kernel-smp') and isys.smpAvailable()):