summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-08-08 18:53:59 +0000
committerErik Troan <ewt@redhat.com>2000-08-08 18:53:59 +0000
commitffd483c53fa77d5f2138ba527b3c3bdbecb09e05 (patch)
tree957bab69ea44c18bc1266af4d03ff8e0d8788496 /todo.py
parent5fefde72bb02bacaa2cca99af2e64fad1e5358cf (diff)
downloadanaconda-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.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index f00829dbe..07c16914d 100644
--- a/todo.py
+++ b/todo.py
@@ -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