summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-26 19:30:46 +0000
committerMatt Wilson <msw@redhat.com>1999-09-26 19:30:46 +0000
commitc0ed2e6e181636133737d9d96754b4fa5e6bcbcb (patch)
tree49de173235fa7078f725028f4edfc573170a5564 /todo.py
parent6acdbf79d3a2a7a524421b8bf84ee8fbce588bf9 (diff)
downloadanaconda-c0ed2e6e181636133737d9d96754b4fa5e6bcbcb.tar.gz
anaconda-c0ed2e6e181636133737d9d96754b4fa5e6bcbcb.tar.xz
anaconda-c0ed2e6e181636133737d9d96754b4fa5e6bcbcb.zip
1) don't configure kernel-smp during an upgrade unless the hardware is found
2) added slovenian 3) *always* install a kernel
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/todo.py b/todo.py
index 0b23b365b..e3942f7bd 100644
--- a/todo.py
+++ b/todo.py
@@ -172,6 +172,7 @@ class Language (SimpleConfigFile):
"Polish" : "pl_PL" ,
"Romanian" : "ro_RO" ,
"Slovak" : "sk_SK" ,
+ "Slovenian" : "sl_SI" ,
"Spanish" : "es_MX" ,
# "Russian" : "ru_SU" ,
"Russian" : "ru_RU.KOI8-R" ,
@@ -837,6 +838,10 @@ class ToDo:
smpInstalled = (self.hdList.has_key('kernel-smp') and
self.hdList['kernel-smp'].selected)
+ if (self.upgrade and not isys.smpAvailable()):
+ self.log("upgrading to a smp kernel on a up system; configuring "
+ "up in lilo")
+ smpInstalled = 0
if self.mounts.has_key ('/'):
(dev, fstype, format) = self.mounts['/']
@@ -1388,6 +1393,10 @@ class ToDo:
if (self.hdList.has_key('kernel-smp') and isys.smpAvailable()):
self.hdList['kernel-smp'].selected = 1
+ # we *always* need a kernel installed
+ if (self.hdList.has_key('kernel')):
+ self.hdList['kernel'].selected = 1
+
if self.x.server:
self.selectPackage ('XFree86-' + self.x.server)