diff options
author | Erik Troan <ewt@redhat.com> | 2002-01-25 20:37:17 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2002-01-25 20:37:17 +0000 |
commit | 41c96a94e654a81b852db1a732daa48421ffa499 (patch) | |
tree | 1e7138db20b255329c985f2642bd73d0cc3d728b /image.py | |
parent | dc1e08d6a960a2376b593b7746d453c049942555 (diff) | |
download | anaconda-41c96a94e654a81b852db1a732daa48421ffa499.tar.gz anaconda-41c96a94e654a81b852db1a732daa48421ffa499.tar.xz anaconda-41c96a94e654a81b852db1a732daa48421ffa499.zip |
/tmp/cleanup wasn't used in 7.2 anyway...
Diffstat (limited to 'image.py')
-rw-r--r-- | image.py | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -25,11 +25,6 @@ class ImageInstallMethod(InstallMethod): def mergeFullHeaders(self, hdlist): hdlist.mergeFullHeaders(self.tree + "/RedHat/base/hdlist2") - def writeCleanupPath(self, f): - isys.makeDevInode("loop0", "/tmp/loop0") - f.write("umount /mnt/runtime\n") - f.write("lounsetup /tmp/loop0\n") - def __init__(self, tree): InstallMethod.__init__(self) self.tree = tree @@ -155,14 +150,6 @@ class CdromInstallMethod(ImageInstallMethod): except SystemError: pass - def writeCleanupPath(self, f): - isys.makeDevInode("loop0", "/tmp/loop0") - isys.makeDevInode(self.device, "/tmp/cdrom") - f.write("umount /mnt/runtime\n") - f.write("lounsetup /tmp/loop0\n") - f.write("umount /mnt/source\n") - f.write("eject /tmp/cdrom\n") - def __init__(self, url, messageWindow, progressWindow): (self.device, tree) = string.split(url, "/", 1) self.messageWindow = messageWindow @@ -259,14 +246,6 @@ class NfsIsoInstallMethod(NfsInstallMethod): def filesDone(self): self.umountImage() - def writeCleanupPath(self, f): - isys.makeDevInode("loop0", "/tmp/loop0") - isys.makeDevInode("loop1", "/tmp/loop0") - f.write("umount /mnt/runtime\n") - f.write("lounsetup /tmp/loop0\n") - f.write("umount /mnt/source2\n") - f.write("lounsetup /tmp/loop1\n") - def __init__(self, tree, messageWindow): self.imageMounted = None self.isoPath = tree |