diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-12-01 04:20:12 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-12-01 04:20:12 +0000 |
commit | a6a7476d7d50f3dd63f7e59d6272f16b40af6f7c (patch) | |
tree | d71169e82b6dd0c97ac11f97a2695b7723e91d47 /image.py | |
parent | 8ba99971a9679d7ade18b3c87882f279706bbfd5 (diff) | |
download | anaconda-a6a7476d7d50f3dd63f7e59d6272f16b40af6f7c.tar.gz anaconda-a6a7476d7d50f3dd63f7e59d6272f16b40af6f7c.tar.xz anaconda-a6a7476d7d50f3dd63f7e59d6272f16b40af6f7c.zip |
2004-11-30 Jeremy Katz <katzj@redhat.com>
* image.py (findIsoImages): Skip ISOs which don't have a
product/RPMS dir to avoid some of the confusion if users put the
source ISOs in the same dir as the binary (#106017)
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -459,6 +459,13 @@ def findIsoImages(path, messageWindow): if (num == 1 and not os.access("/mnt/cdimage/%s/base/stage2.img" % (productPath,), os.R_OK)): + log("%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,)): + log("%s doesn't have binary RPMS, skipping" %(what,)) continue # warn user if images appears to be wrong size |