diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-01 23:27:33 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-01 23:27:33 +0000 |
commit | cf19afb6d00150e6faa5a267e72955723e9f94e7 (patch) | |
tree | ccab2ffd8a307b57c55d34c4077770e4ed607c84 /harddrive.py | |
parent | 3835aecef69bc9378ef1588c9b9c10db69422319 (diff) | |
download | anaconda-cf19afb6d00150e6faa5a267e72955723e9f94e7.tar.gz anaconda-cf19afb6d00150e6faa5a267e72955723e9f94e7.tar.xz anaconda-cf19afb6d00150e6faa5a267e72955723e9f94e7.zip |
added fstype to hard drive installs
Diffstat (limited to 'harddrive.py')
-rw-r--r-- | harddrive.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/harddrive.py b/harddrive.py index 21a25b6bd..709216128 100644 --- a/harddrive.py +++ b/harddrive.py @@ -13,7 +13,8 @@ class InstallMethod: def readComps(self, hdlist): isys.makeDevInode(self.device, '/tmp/' + self.device) - isys.mount('/tmp/' + self.device, "/tmp/hdimage"); + isys.mount('/tmp/' + self.device, "/tmp/hdimage", + fstype = self.fstype); cs = ComponentSet('i386', "/tmp/hdimage/" + self.path + '/RedHat/base/comps', hdlist) isys.umount("/tmp/hdimage") @@ -24,7 +25,8 @@ class InstallMethod: def readHeaders(self): isys.makeDevInode(self.device, '/tmp/' + self.device) - isys.mount('/tmp/' + self.device, "/tmp/hdimage"); + isys.mount('/tmp/' + self.device, "/tmp/hdimage", + fstype = self.fstype); hl = [] path = "/tmp/hdimage" + self.path + "/RedHat/RPMS" for n in os.listdir(path): @@ -47,7 +49,8 @@ class InstallMethod: self.needsUnmount = 0 if (not self.isMounted): - isys.mount('/tmp/' + self.device, "/tmp/hdimage"); + isys.mount('/tmp/' + self.device, "/tmp/hdimage", + fstype = self.fstype) self.tree = "/tmp/hdimage/" + self.path self.needsUnmount = 1 @@ -58,7 +61,8 @@ class InstallMethod: def unlinkFilename(self, fullName): pass - def __init__(self, device, path): + def __init__(self, device, type, path): self.device = device self.path = path + self.fstype = type self.fnames = {} |