diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-02-01 23:06:19 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-02-01 23:06:19 +0000 |
commit | 5748ccf39aa0adf77e1abff2b740e0bdfe24a7c8 (patch) | |
tree | 0eaef523c657474983125229f0e0da770c16e619 /partitioning.py | |
parent | 5adbc5cc380e3f91a0a3989bb0c61a429f08b860 (diff) | |
download | anaconda-5748ccf39aa0adf77e1abff2b740e0bdfe24a7c8.tar.gz anaconda-5748ccf39aa0adf77e1abff2b740e0bdfe24a7c8.tar.xz anaconda-5748ccf39aa0adf77e1abff2b740e0bdfe24a7c8.zip |
get rid of some debug prints to make bill happy. also adds some of the raidminor stuff so that we can specify an explicity raid device in kickstart so that IS can end up with identical machines
Diffstat (limited to 'partitioning.py')
-rw-r--r-- | partitioning.py | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/partitioning.py b/partitioning.py index c322e981d..270f4e07f 100644 --- a/partitioning.py +++ b/partitioning.py @@ -794,7 +794,7 @@ class PartitionSpec: drive = None, primary = None, format = None, options = None, constraint = None, migrate = None, - raidmembers = None, raidlevel = None, + raidmembers = None, raidlevel = None, raidminor = None, raidspares = None, badblocks = None, fslabel = None, physvolumes = None, vgname = None, volgroup = None, volname = None): @@ -834,6 +834,7 @@ class PartitionSpec: self.raidmembers = raidmembers self.raidlevel = raidlevel self.raidspares = raidspares + self.raidminor = raidminor # volume group specific. physicalVolumes are unique ids of requests self.physicalVolumes = physvolumes @@ -892,7 +893,7 @@ class PartitionSpec: for member in self.raidmembers: raidmems.append(partitions.getRequestByID(member).device) device = fsset.RAIDDevice(int(self.raidlevel[-1:]), - raidmems, + raidmems, minor = self.raidminor, spares = self.raidspares) # XXX need to handle this obviously elif self.type == REQUEST_VG: @@ -900,15 +901,11 @@ class PartitionSpec: for pv in self.physicalVolumes: pvs.append(partitions.getRequestByID(pv).device) device = fsset.VolumeGroupDevice(self.volumeGroupName, pvs) - print "found volume group %s" % (self.volumeGroupName) - print "pvs are ", pvs elif self.type == REQUEST_LV: device = fsset.LogicalVolumeDevice( partitions.getRequestByID(self.volumeGroup).volumeGroupName, self.size, self.logicalVolumeName) - print "found logical volume %s, vg is %s" % (self.logicalVolumeName, - self.volumeGroup) else: device = fsset.PartitionDevice(self.device) @@ -2091,11 +2088,6 @@ def partitioningComplete(bl, fsset, diskSet, partitions, intf, instPath, dir): fsset.add (entry) else: raise RuntimeError, "Managed to not get an entry back from request.toEntry" - print entry, entry.fsystem.name, - if entry.mountpoint: - print entry.mountpoint - else: - print "" if iutil.memInstalled() > isys.EARLY_SWAP_RAM: return |