summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-10-16 20:52:14 +0000
committerChris Lumens <clumens@redhat.com>2006-10-16 20:52:14 +0000
commitd5e6547add68385cee123cdb78fb8f8725cf9710 (patch)
treefb096f842e97c4ca251145aa15b3b9a79e430964 /installclasses
parent85f643525b63f3485583cc2e2078893e6db1f09d (diff)
downloadanaconda-d5e6547add68385cee123cdb78fb8f8725cf9710.tar.gz
anaconda-d5e6547add68385cee123cdb78fb8f8725cf9710.tar.xz
anaconda-d5e6547add68385cee123cdb78fb8f8725cf9710.zip
Be smarter about finding ISO loopback mount points and setting up baseUrl
for yum.
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/rhel.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/installclasses/rhel.py b/installclasses/rhel.py
index 56361945c..bd6fbb929 100644
--- a/installclasses/rhel.py
+++ b/installclasses/rhel.py
@@ -4,6 +4,7 @@ from rhpl.translate import N_
from constants import *
import os
import iutil
+import types
import logging
log = logging.getLogger("anaconda")
@@ -44,7 +45,15 @@ class InstallClass(BaseInstallClass):
def getPackagePaths(self, uri):
rc = {}
for (name, path) in self.repopaths.items():
- rc[name] = "%s/%s" %(uri, path)
+ if type(uri) == types.ListType:
+ lst = []
+
+ for i in uri:
+ lst.append("%s/%s" % (i, path))
+
+ rc[name] = lst
+ else:
+ rc[name] = "%s/%s" %(uri, path)
return rc
def handleRegKey(self, key, intf):