summaryrefslogtreecommitdiffstats
path: root/hdrlist.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-05-18 03:45:34 +0000
committerJeremy Katz <katzj@redhat.com>2004-05-18 03:45:34 +0000
commit3105f614b92cebd202d473d980326f534d2f0c02 (patch)
tree98c6e0a7a67b4934fc5f95c4257e0eb5d8bc5e7f /hdrlist.py
parent5a6253f78f105e543f2d6d831feb5883588ecb58 (diff)
downloadanaconda-3105f614b92cebd202d473d980326f534d2f0c02.tar.gz
anaconda-3105f614b92cebd202d473d980326f534d2f0c02.tar.xz
anaconda-3105f614b92cebd202d473d980326f534d2f0c02.zip
merge anaconda-10_0-branch changes back to HEAD
Diffstat (limited to 'hdrlist.py')
-rw-r--r--hdrlist.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/hdrlist.py b/hdrlist.py
index fcc55ceab..ec1ed683b 100644
--- a/hdrlist.py
+++ b/hdrlist.py
@@ -376,6 +376,13 @@ class HeaderList:
arches = (rhpl.arch.getBaseArch(), rhpl.arch.canonArch)
else:
arches = (rhpl.arch.canonArch, )
+
+ # FIXME: this is a bad bad bad hack. we should probably tag
+ # the kernel in the comps file somehow instead. basearchonly
+ # was sort of intended for this, but ppc is kind of backwards on
+ # what basearch means :/
+ if item == "kernel":
+ arches = (rhpl.arch.canonArch,)
for basearch in arches:
for (nevra, arch) in self.pkgnames[item]: