summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-06-02 21:44:31 +0000
committerErik Troan <ewt@redhat.com>2000-06-02 21:44:31 +0000
commit20e2c29550a83b7c4f75bb10dea9bd9a4d1bdf75 (patch)
tree43cc42b01a9eea5716b9a756bce9f500273069f4 /image.py
parentfe8fa314653ee2460b6e191596a5f2ec3ca9039d (diff)
downloadanaconda-20e2c29550a83b7c4f75bb10dea9bd9a4d1bdf75.tar.gz
anaconda-20e2c29550a83b7c4f75bb10dea9bd9a4d1bdf75.tar.xz
anaconda-20e2c29550a83b7c4f75bb10dea9bd9a4d1bdf75.zip
create /tmp/cleanup properly
Diffstat (limited to 'image.py')
-rw-r--r--image.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/image.py b/image.py
index f3c681cb7..2efa79bd7 100644
--- a/image.py
+++ b/image.py
@@ -73,6 +73,10 @@ class CdromInstallMethod(ImageInstallMethod):
target = "%s/rhinstall-stage2.img" % self.mntPoint
os.unlink(target)
+ def writeCleanupPath(self, f):
+ isys.makeDevInode("loop0", "/tmp/loop0")
+ f.write("lounsetup /tmp/loop0\n")
+
def __init__(self, url, messageWindow, progressWindow):
(self.device, tree) = string.split(url, "/", 1)
self.messageWindow = messageWindow