diff options
author | Erik Troan <ewt@redhat.com> | 2000-08-08 19:17:40 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-08-08 19:17:40 +0000 |
commit | 95c94b1ee2d2ca433e2a767f36f6bace006f4305 (patch) | |
tree | 7fb25e401967dc123ebc339fe0a901382d5f89dc | |
parent | d62dabcbddc7b42a5dabb72ca4b40dbab54c8ff4 (diff) | |
download | anaconda-95c94b1ee2d2ca433e2a767f36f6bace006f4305.tar.gz anaconda-95c94b1ee2d2ca433e2a767f36f6bace006f4305.tar.xz anaconda-95c94b1ee2d2ca433e2a767f36f6bace006f4305.zip |
more run-out-of-disk-space-reasonable patches
-rw-r--r-- | image.py | 7 | ||||
-rw-r--r-- | installmethod.py | 3 | ||||
-rw-r--r-- | todo.py | 2 |
3 files changed, 12 insertions, 0 deletions
@@ -27,6 +27,13 @@ class ImageInstallMethod(InstallMethod): class CdromInstallMethod(ImageInstallMethod): + def systemUnmounted(self): + if self.loopbackFile: + isys.makeDevInode("loop0", "/tmp/loop") + isys.lochangefd("/tmp/loop", + "%s/RedHat/base/stage2.img" % self.tree) + self.loopbackFile = None + def systemMounted(self, fstab, mntPoint, selected): changeloop=0 for p in selected: diff --git a/installmethod.py b/installmethod.py index a162b6bc3..4a9e8de86 100644 --- a/installmethod.py +++ b/installmethod.py @@ -15,6 +15,9 @@ class InstallMethod: def readHeaders(self): pass + def systemUnmounted(self, fstab, mntPoint, selected): + pass + def systemMounted(self, fstab, mntPoint, selected): pass @@ -1567,6 +1567,8 @@ class ToDo: self.instLog.close() del syslog + + self.method.systemUnmounted () self.fstab.umountFilesystems(self.instPath) rpm.errorSetCallback (oldError) |