summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-08-23 20:42:11 +0000
committerMike Fulbright <msf@redhat.com>2002-08-23 20:42:11 +0000
commita5f2fba368dc848a4faca7b92586dc87190f18a0 (patch)
tree4c1534a84e5bbccd76fcb83f37e78f3cdceaef3c
parent0fbe8be228894f2c000662456be28b44c8554c59 (diff)
downloadanaconda-a5f2fba368dc848a4faca7b92586dc87190f18a0.tar.gz
anaconda-a5f2fba368dc848a4faca7b92586dc87190f18a0.tar.xz
anaconda-a5f2fba368dc848a4faca7b92586dc87190f18a0.zip
fix for not finding CD on first CD - bug #70139
-rw-r--r--image.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/image.py b/image.py
index 5aaf50800..501c2e95a 100644
--- a/image.py
+++ b/image.py
@@ -128,7 +128,13 @@ class CdromInstallMethod(ImageInstallMethod):
cdlist = []
for (dev, something, descript) in \
kudzu.probe(kudzu.CLASS_CDROM, kudzu.BUS_UNSPEC, 0):
- if dev != self.device:
+ #
+ # 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 dev != self.device and needed > 1:
cdlist.append(dev)
for dev in cdlist: