summaryrefslogtreecommitdiffstats
path: root/urlinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'urlinstall.py')
-rw-r--r--urlinstall.py6
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):