summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-07-31 00:42:45 +0000
committerMike Fulbright <msf@redhat.com>2002-07-31 00:42:45 +0000
commitdc33b950c545c30e7872dd58664f8088545cd44b (patch)
treeeb40ff3155caac122292066c5b7357c0982dd469 /image.py
parent6919ce27faac2e2f261a473e86739a4480e5bd5c (diff)
downloadanaconda-dc33b950c545c30e7872dd58664f8088545cd44b.tar.gz
anaconda-dc33b950c545c30e7872dd58664f8088545cd44b.tar.xz
anaconda-dc33b950c545c30e7872dd58664f8088545cd44b.zip
get comps.xml from multiple sources
Diffstat (limited to 'image.py')
-rw-r--r--image.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/image.py b/image.py
index d308b1756..36c71e8e9 100644
--- a/image.py
+++ b/image.py
@@ -29,7 +29,8 @@ from rhpl.translate import _
class ImageInstallMethod(InstallMethod):
def readCompsViaMethod(self, hdlist):
- return ComponentSet(self.tree + '/RedHat/base/comps.xml', hdlist)
+ fname = self.findBestFileMatch(self.tree, 'comps.xml')
+ return ComponentSet(fname, hdlist)
def getFilename(self, h, timer):
return self.tree + "/RedHat/RPMS/" + h[1000000]