summaryrefslogtreecommitdiffstats
path: root/instdata.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-09-25 14:24:22 +0000
committerChris Lumens <clumens@redhat.com>2006-09-25 14:24:22 +0000
commit64520c205f11dee32f71f80a571af47a1701b213 (patch)
tree8f8202ba2cf058be07c3081895e5439be2de4442 /instdata.py
parentc80c65d743a25fc3a274811d5443ae564060a421 (diff)
downloadanaconda-64520c205f11dee32f71f80a571af47a1701b213.tar.gz
anaconda-64520c205f11dee32f71f80a571af47a1701b213.tar.xz
anaconda-64520c205f11dee32f71f80a571af47a1701b213.zip
Turn off firstboot on s390 (#207926).
Diffstat (limited to 'instdata.py')
-rw-r--r--instdata.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/instdata.py b/instdata.py
index 1f3852832..192f6f66e 100644
--- a/instdata.py
+++ b/instdata.py
@@ -30,6 +30,7 @@ import zfcp
import urllib
import iutil
import users
+import rhpl
from flags import *
from constants import *
@@ -75,7 +76,12 @@ class InstallData:
self.upgradeDeps = ""
self.upgradeRemove = []
self.upgradeInfoFound = None
- self.firstboot = FIRSTBOOT_DEFAULT
+
+ if rhpl.getArch() == "s390":
+ self.firstboot = FIRSTBOOT_SKIP
+ else:
+ self.firstboot = FIRSTBOOT_DEFAULT
+
# XXX I expect this to die in the future when we have a single data
# class and translate ksdata into that instead.
self.ksdata = None