diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-04-12 18:53:20 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-04-12 18:53:20 +0000 |
commit | cdf7dd386e2c0cd9ee8c70ce512a8197872ea172 (patch) | |
tree | d9672084f341c9f6c5d2d9b18080a1c67ced95f9 /image.py | |
parent | 7c0db3f2f7697a67b2814481e92573f8b7bfc68c (diff) | |
download | anaconda-cdf7dd386e2c0cd9ee8c70ce512a8197872ea172.tar.gz anaconda-cdf7dd386e2c0cd9ee8c70ce512a8197872ea172.tar.xz anaconda-cdf7dd386e2c0cd9ee8c70ce512a8197872ea172.zip |
2007-04-12 Jeremy Katz <katzj@redhat.com>
* urlinstall.py (UrlInstallMethod.systemMounted): Don't copy
stage2.img if we can't find it
* image.py (CdromInstallMethod.systemMounted): Likewise.
* anaconda (setupEnvironment): Make sure we have /sbin and
/usr/sbin in our path
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -158,6 +158,10 @@ class CdromInstallMethod(ImageInstallMethod): self.loopbackFile = None def systemMounted(self, fsset, chroot): + if not os.path.exists("%s/images/stage2.img" %(self.tree,)): + log.debug("Not copying non-existent stage2.img") + return + self.loopbackFile = "%s%s%s" % (chroot, fsset.filesystemSpace(chroot)[0][0], "/rhinstall-stage2.img") |