summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-10-25 19:05:51 +0000
committerJeremy Katz <katzj@redhat.com>2002-10-25 19:05:51 +0000
commit18fb1bc9949dfe9fbb67db3aa103118ec1ea864f (patch)
tree809580b08817769ab5d9a54edaa8bb360eadf637 /image.py
parentc74909dd111ff97e9dbb85ae76280ab87ae942fd (diff)
downloadanaconda-18fb1bc9949dfe9fbb67db3aa103118ec1ea864f.tar.gz
anaconda-18fb1bc9949dfe9fbb67db3aa103118ec1ea864f.tar.xz
anaconda-18fb1bc9949dfe9fbb67db3aa103118ec1ea864f.zip
disc1 should have RedHat/base/stage2.img present
Diffstat (limited to 'image.py')
-rw-r--r--image.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/image.py b/image.py
index b233ea85b..41a79c1db 100644
--- a/image.py
+++ b/image.py
@@ -359,6 +359,12 @@ def findIsoImages(path, messageWindow):
if num not in discNum or discArch != arch:
continue
+
+ # if it's disc1, it needs to have RedHat/base/stage2.img
+ if (num == 1 and not
+ os.access("/mnt/cdimage/RedHat/base/stage2.img",
+ os.R_OK)):
+ continue
# warn user if images appears to be wrong size
if os.stat(what)[stat.ST_SIZE] % 2048: