diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-07-25 18:02:53 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-07-25 18:02:53 +0000 |
commit | c5fccc19ec76fd99ca63b38c764fe89360fde092 (patch) | |
tree | 3fa9ac027a36a1f863d7c4c4d3ea6a75265e698b /urlinstall.py | |
parent | 3b392e7ba791a1b4c9c208e6bd895b2d9daad92a (diff) | |
download | anaconda-c5fccc19ec76fd99ca63b38c764fe89360fde092.tar.gz anaconda-c5fccc19ec76fd99ca63b38c764fe89360fde092.tar.xz anaconda-c5fccc19ec76fd99ca63b38c764fe89360fde092.zip |
2007-07-25 Jeremy Katz <katzj@redhat.com>
* fsset.py (allocateLoopback): Use /dev/loopX instead of /tmp/loopX
* urlinstall.py (UrlInstallMethod.systemMounted): Use /dev/loop0
instead of /tmp/loop.
(UrlInstallMethod.systemUnmounted): Likewise.
* rescue.py (runRescue): Loop devices made generally now.
* harddrive.py (HardDriveInstallMethod.mountMedia): Use /dev/loop3
instead of /tmp/loop
(HardDriveInstallMethod.umountMedia): Likewise.
* image.py (CdromInstallMethod.systemUnmounted): Use /dev/loop0
instead of /tmp/loop
(CdromInstallMethod.systemMounted): Likewise.
(NfsIsoInstallMethod.mountImage): Likewise for /dev/loop3
(NfsIsoInstallMethod.umountImage): Likewise.
(findIsoImages): Likewise for /dev/loop2.
* iutil.py (makeDriveDeviceNodes): Make loop devices.
Diffstat (limited to 'urlinstall.py')
-rw-r--r-- | urlinstall.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/urlinstall.py b/urlinstall.py index a464d9719..ce25da98b 100644 --- a/urlinstall.py +++ b/urlinstall.py @@ -82,8 +82,7 @@ class UrlInstallMethod(InstallMethod): def systemUnmounted(self): if self.loopbackFile: - isys.makeDevInode("loop0", "/tmp/loop") - isys.lochangefd("/tmp/loop", + isys.lochangefd("/dev/loop0", "%s/images/stage2.img" % (self.tree,)) self.loopbackFile = None @@ -116,8 +115,7 @@ class UrlInstallMethod(InstallMethod): os.unlink(self.loopbackFile) return 1 - isys.makeDevInode("loop0", "/tmp/loop") - isys.lochangefd("/tmp/loop", self.loopbackFile) + isys.lochangefd("/dev/loop0", self.loopbackFile) def getFilename(self, filename, callback=None, destdir=None, retry=1): |