summaryrefslogtreecommitdiffstats
path: root/comps.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 /comps.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 'comps.py')
-rw-r--r--comps.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/comps.py b/comps.py
index 120b5cddf..4b172ed56 100644
--- a/comps.py
+++ b/comps.py
@@ -201,6 +201,14 @@ class HeaderList:
self.hasFullHeaders = 0
for h in hdlist:
name = h[rpm.RPMTAG_NAME]
+
+ # we should only keep kernel-pseries and kernel-iseries on
+ # the appropriate machine
+ if name == "kernel-pseries" and iutil.getPPCMachine() != "pSeries":
+ continue
+ if name == "kernel-iseries" and iutil.getPPCMachine() != "iSeries":
+ continue
+
if noscore:
self.packages[name] = Package(h)
continue
@@ -990,7 +998,9 @@ class ComponentSet:
for (ktag, nick) in [ ('kernel-summit', 'summit'),
('kernel-bigmem', 'bigmem'),
('kernel-smp', 'smp'),
- ('kernel-tape', 'tape') ]:
+ ('kernel-tape', 'tape'),
+ ('kernel-pseries', ''),
+ ('kernel-iseries', '') ]:
tag = split(ktag, '-')[1]
if (self.packages.has_key(ktag) and
self.packages[ktag].selected):