summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-07-17 13:15:31 +0000
committerMatt Wilson <msw@redhat.com>2002-07-17 13:15:31 +0000
commit14f76ec3d6851d95009c891dc86083d28e9b2ccc (patch)
treea5f66f5ce150631f2bb59f73b8d7eae798c32427 /isys/isys.py
parent3365968c0067cdd781efe666222cb84ee9434afd (diff)
downloadanaconda-14f76ec3d6851d95009c891dc86083d28e9b2ccc.tar.gz
anaconda-14f76ec3d6851d95009c891dc86083d28e9b2ccc.tar.xz
anaconda-14f76ec3d6851d95009c891dc86083d28e9b2ccc.zip
implement summit test
Diffstat (limited to 'isys/isys.py')
-rw-r--r--isys/isys.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 0d94d3fe7..a0b394ed4 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -185,6 +185,18 @@ def smpAvailable():
htavailable = _isys.htavailable
+def summitavailable():
+ try:
+ f = open("/proc/cmdline")
+ line = f.readline()
+ if string.find(line, " summit") != -1:
+ return 1
+ del f
+ except:
+ pass
+
+ return _isys.summitavailable()
+
def chroot (path):
return _isys.chroot (path)