summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-04-24 15:46:31 +0000
committerJeremy Katz <katzj@redhat.com>2003-04-24 15:46:31 +0000
commit0a562126d84c59a113231ae7ab38984f92d62153 (patch)
tree5e87b9094f4ebdc328979e3a0640dee5f1fc40cb /packages.py
parentdd200d781bd9012f562399c2ee69c23fe60d86b9 (diff)
downloadanaconda-0a562126d84c59a113231ae7ab38984f92d62153.tar.gz
anaconda-0a562126d84c59a113231ae7ab38984f92d62153.tar.xz
anaconda-0a562126d84c59a113231ae7ab38984f92d62153.zip
another taroon merge. tagged before as before-taroon-merge, after as
after-taroon-merge this one adds s390 fixes, basic i/p series platform support, support for multiple kernels and one second stage, cmdline kickstart mode (nice for s390), some warning cleanups.
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py19
1 files changed, 15 insertions, 4 deletions
diff --git a/packages.py b/packages.py
index 09f1114a3..c739235c1 100644
--- a/packages.py
+++ b/packages.py
@@ -511,9 +511,6 @@ def setupTimezone(timezone, upgrade, instPath, dir):
def doPreInstall(method, id, intf, instPath, dir):
- if flags.test:
- return
-
if dir == DISPATCH_BACK:
return
@@ -542,7 +539,12 @@ def doPreInstall(method, id, intf, instPath, dir):
if arch == "s390":
if (string.find(os.uname()[2], "tape") > -1):
select(id.hdList, 'kernel-tape')
- elif isys.smpAvailable() or isys.htavailable():
+ elif arch == "ppc" and iutil.getPPCMachine() == "pSeries":
+ select(id.hdList, 'kernel-pseries')
+ elif arch == "ppc" and iutil.getPPCMachine() == "iSeries":
+ select(id.hdList, "kernel-iseries")
+
+ if isys.smpAvailable() or isys.htavailable():
select(id.hdList, 'kernel-smp')
if (id.hdList.has_key('kernel-bigmem')):
@@ -580,10 +582,19 @@ def doPreInstall(method, id, intf, instPath, dir):
select(id.hdList, 'lilo')
elif iutil.getArch() == "i386" and id.bootloader.useGrubVal == 1:
select(id.hdList, 'grub')
+ elif iutil.getArch() == "s390":
+ select(id.hdList, 's390utils')
+ elif iutil.getArch() == "ppc":
+ select(id.hdList, 'yaboot')
+ elif iutil.getArch() == "ia64":
+ select(id.hdList, 'elilo')
if pcmcia.pcicType():
select(id.hdList, 'kernel-pcmcia-cs')
+ if flags.test:
+ return
+
# make sure that all comps that include other comps are
# selected (i.e. - recurse down the selected comps and turn
# on the children