diff options
-rw-r--r-- | fstab.py | 4 | ||||
-rw-r--r-- | image.py | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -241,10 +241,10 @@ class Fstab: raise TypeError, "unknown partition to format %s" % (device,) # sorted largest to smallest - def filesystemSpace(self): + def filesystemSpace(self, topMount): space = {} for (mntpoint, partition, fsystem, doFormat, size) in self.mountList(): - space[mntpoint] = isys.fsSpaceAvailable(mntpoint) + space[mntpoint] = isys.fsSpaceAvailable(topMount + '/' + mntpoint) list = space.keys() list.sort() @@ -43,7 +43,7 @@ class CdromInstallMethod(ImageInstallMethod): if changeloop == 0: return - self.loopbackFile = mntPoint + fstab.filesystemSpace()[0][0] + \ + self.loopbackFile = mntPoint + fstab.filesystemSpace(mntPoint)[0][0] + \ "/rhinstall-stage2.img" try: |