summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-07-07 01:25:01 +0000
committerJeremy Katz <katzj@redhat.com>2001-07-07 01:25:01 +0000
commite9d19f8ba5156aba50296451b310a34f9c85562a (patch)
treed68f607df1f4b44782f614b8aaeb70c2883c24e7 /autopart.py
parent2a4cfff403c497ff2590bf9168421a8bc832e59e (diff)
downloadanaconda-e9d19f8ba5156aba50296451b310a34f9c85562a.tar.gz
anaconda-e9d19f8ba5156aba50296451b310a34f9c85562a.tar.xz
anaconda-e9d19f8ba5156aba50296451b310a34f9c85562a.zip
fix device setting for raid devices
move partitioningComplete into partitioning.py make raidmembers be a list of uniqueIDs instead of list of parts
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/autopart.py b/autopart.py
index 91c5c1d3f..90984f584 100644
--- a/autopart.py
+++ b/autopart.py
@@ -628,11 +628,10 @@ def processPartitioning(diskset, requests, newParts):
for request in requests.requests:
# set the unique identifier for raid devices
if request.type == REQUEST_RAID and not request.device:
- request.device = str(requests.nextUniqueID)
- requests.nextUniqueID = requests.nextUniqueID + 1
+ request.device = str(request.uniqueID)
if request.type == REQUEST_RAID:
- request.size = get_raid_device_size(request) / 1024 / 1024
+ request.size = get_raid_device_size(request, requests, diskset) / 1024 / 1024
if not request.device:
# return PARTITION_FAIL