diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-10-25 19:05:51 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-10-25 19:05:51 +0000 |
commit | 18fb1bc9949dfe9fbb67db3aa103118ec1ea864f (patch) | |
tree | 809580b08817769ab5d9a54edaa8bb360eadf637 /image.py | |
parent | c74909dd111ff97e9dbb85ae76280ab87ae942fd (diff) | |
download | anaconda-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.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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: |