summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-08-20 23:54:51 +0000
committerJeremy Katz <katzj@redhat.com>2003-08-20 23:54:51 +0000
commitdd8951f2026a93111f29b1d6d670e622db1951e3 (patch)
tree795f40e92150953edb8b5db5a1dab0436f875bd7 /image.py
parent3960c2c5b13e4e11d54a6d85c33e5675a284a794 (diff)
downloadanaconda-dd8951f2026a93111f29b1d6d670e622db1951e3.tar.gz
anaconda-dd8951f2026a93111f29b1d6d670e622db1951e3.tar.xz
anaconda-dd8951f2026a93111f29b1d6d670e622db1951e3.zip
merge changes from taroon branch
Diffstat (limited to 'image.py')
-rw-r--r--image.py15
1 files changed, 4 insertions, 11 deletions
diff --git a/image.py b/image.py
index 818a9a088..af45a20ca 100644
--- a/image.py
+++ b/image.py
@@ -47,7 +47,7 @@ class ImageInstallMethod(InstallMethod):
def getRPMFilename(self, h, timer, callback=None):
if self.currentIso is not None and self.currentIso != h[1000002]:
- log("switching from iso %s to %s" %(self.currentIso, h[1000002]))
+ log("switching from iso %s to %s for %s-%s-%s.%s" %(self.currentIso, h[1000002], h['name'], h['version'], h['release'], h['arch']))
self.currentIso = h[1000002]
return self.getFilename("/RedHat/RPMS/" + h[1000000], callback=callback)
def readHeaders(self):
@@ -143,7 +143,7 @@ class CdromInstallMethod(ImageInstallMethod):
"on the current CD", h[1000000])
elif h[1000002] not in self.currentDisc:
timer.stop()
- log("switching from iso %s to %s" %(self.currentDisc, h[1000002]))
+ log("switching from iso %s to %s for %s-%s-%s.%s" %(self.currentDisc, h[1000002], h['name'], h['version'], h['release'], h['arch']))
if os.access("/mnt/source/.discinfo", os.R_OK):
f = open("/mnt/source/.discinfo")
@@ -175,14 +175,7 @@ class CdromInstallMethod(ImageInstallMethod):
cdlist = []
for (dev, something, descript) in \
kudzu.probe(kudzu.CLASS_CDROM, kudzu.BUS_UNSPEC, 0):
- #
- # this is broken but late to fix
- # we never bump self.device to another device when
- # we swap CDs, so we never revisit original CD device
- # this way we go back to it if we're looking for something
- # other than the first CD image
- if needed > 1 or dev != self.device:
- cdlist.append(dev)
+ cdlist.append(dev)
for dev in cdlist:
try:
@@ -430,7 +423,7 @@ class NfsIsoInstallMethod(NfsInstallMethod):
def getRPMFilename(self, h, timer, callback=None):
if self.imageMounted != h[1000002]:
- log("switching from iso %s to %s" %(self.imageMounted, h[1000002]))
+ log("switching from iso %s to %s for %s-%s-%s.%s" %(self.imageMounted, h[1000002], h['name'], h['version'], h['release'], h['arch']))
self.umountImage()
self.mountImage(h[1000002])