diff options
author | Erik Troan <ewt@redhat.com> | 2000-08-08 18:53:59 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-08-08 18:53:59 +0000 |
commit | ffd483c53fa77d5f2138ba527b3c3bdbecb09e05 (patch) | |
tree | 957bab69ea44c18bc1266af4d03ff8e0d8788496 /todo.py | |
parent | 5fefde72bb02bacaa2cca99af2e64fad1e5358cf (diff) | |
download | anaconda-ffd483c53fa77d5f2138ba527b3c3bdbecb09e05.tar.gz anaconda-ffd483c53fa77d5f2138ba527b3c3bdbecb09e05.tar.xz anaconda-ffd483c53fa77d5f2138ba527b3c3bdbecb09e05.zip |
handle running out of space when copying stage2.img a bit more maturally
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1300,6 +1300,12 @@ class ToDo: self.hdList['kernel-smp'][rpm.RPMTAG_RELEASE] + "smp") kernelVersions.append(version) + if (self.hdList.has_key('kernel-enterprise') and + self.hdList['kernel-enterprise'].selected): + version = (self.hdList['kernel-enterprise'][rpm.RPMTAG_VERSION] + "-" + + self.hdList['kernel-enterprise'][rpm.RPMTAG_RELEASE] + "smp") + kernelVersions.append(version) + version = (self.hdList['kernel'][rpm.RPMTAG_VERSION] + "-" + self.hdList['kernel'][rpm.RPMTAG_RELEASE]) kernelVersions.append(version) @@ -1337,6 +1343,12 @@ class ToDo: self.hdList['kernel-smp'][rpm.RPMTAG_RELEASE] + "smp") kernelVersions.append(version) + if (self.hdList.has_key('kernel-enterprise') and + self.hdList['kernel-enterprise'].selected): + version = (self.hdList['kernel-enterprise'][rpm.RPMTAG_VERSION] + "-" + + self.hdList['kernel-enterprise'][rpm.RPMTAG_RELEASE] + "smp") + kernelVersions.append(version) + version = (self.hdList['kernel'][rpm.RPMTAG_VERSION] + "-" + self.hdList['kernel'][rpm.RPMTAG_RELEASE]) kernelVersions.append(version) @@ -1449,7 +1461,9 @@ class ToDo: f = open(self.instPath + "/etc/mtab", "w+") f.close() - self.method.systemMounted (self.fstab, self.instPath, self.hdList.selected()) + if self.method.systemMounted (self.fstab, self.instPath, self.hdList.selected()): + self.fstab.umountFilesystems(self.instPath) + return 1 if not self.installSystem: return |