summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-08-16 15:39:39 +0000
committerJeremy Katz <katzj@redhat.com>2006-08-16 15:39:39 +0000
commit5cc6200883cd96a9bbfe496ba62d495179c3e7d6 (patch)
treece8ae2887665c571cefbb86370522454fb3661c1
parentcf25653690852eaf538b99124e02dc45ee161804 (diff)
downloadanaconda-5cc6200883cd96a9bbfe496ba62d495179c3e7d6.tar.gz
anaconda-5cc6200883cd96a9bbfe496ba62d495179c3e7d6.tar.xz
anaconda-5cc6200883cd96a9bbfe496ba62d495179c3e7d6.zip
2006-08-16 Jeremy Katz <katzj@redhat.com>
* image.py (findIsoImages): Adjust for changed paths
-rw-r--r--ChangeLog2
-rw-r--r--image.py8
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 30c8b9344..9725e2471 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2006-08-16 Jeremy Katz <katzj@redhat.com>
+ * image.py (findIsoImages): Adjust for changed paths
+
* installclasses/rhel.py (InstallClass.handleRegKey): More tweaks
based on what really exists
diff --git a/image.py b/image.py
index d24584a34..17e5729e9 100644
--- a/image.py
+++ b/image.py
@@ -421,10 +421,10 @@ def findIsoImages(path, messageWindow):
os.access("/mnt/cdimage/images/stage2.img", os.R_OK)):
log.warning("%s doesn't have a stage2.img, skipping" %(what,))
continue
- # we only install binary packages and they have to be
- # in the product/RPMS/ dir. make sure it exists to
- # avoid overwriting discs[2] with disc2 of the src.rpm set
- if not os.path.isdir("/mnt/cdimage/%s/RPMS" %(productPath,)):
+ # we only install binary packages, so let's look for a
+ # product/ dir and hope that this avoids getting
+ # discs from the src.rpm set
+ if not os.path.isdir("/mnt/cdimage/%s" %(productPath,)):
log.warning("%s doesn't have binary RPMS, skipping" %(what,))
continue