summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-08-08 19:17:40 +0000
committerErik Troan <ewt@redhat.com>2000-08-08 19:17:40 +0000
commit95c94b1ee2d2ca433e2a767f36f6bace006f4305 (patch)
tree7fb25e401967dc123ebc339fe0a901382d5f89dc /image.py
parentd62dabcbddc7b42a5dabb72ca4b40dbab54c8ff4 (diff)
downloadanaconda-95c94b1ee2d2ca433e2a767f36f6bace006f4305.tar.gz
anaconda-95c94b1ee2d2ca433e2a767f36f6bace006f4305.tar.xz
anaconda-95c94b1ee2d2ca433e2a767f36f6bace006f4305.zip
more run-out-of-disk-space-reasonable patches
Diffstat (limited to 'image.py')
-rw-r--r--image.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/image.py b/image.py
index b9f60600d..6368b2b91 100644
--- a/image.py
+++ b/image.py
@@ -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: