summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2008-01-08 18:18:47 -0600
committerDavid Lehman <dlehman@redhat.com>2008-01-08 18:18:47 -0600
commitb37b72fad95d63a8fce7b932af1be079f154a9bb (patch)
tree025376cf9edaefff0de112b26da7089509a70982 /autopart.py
parent43cf7608ab0c4d2ef8199d92bd26f9a4f7170444 (diff)
downloadanaconda-b37b72fad95d63a8fce7b932af1be079f154a9bb.tar.gz
anaconda-b37b72fad95d63a8fce7b932af1be079f154a9bb.tar.xz
anaconda-b37b72fad95d63a8fce7b932af1be079f154a9bb.zip
Fix encrypted autopart traceback.
Deep copy the encryption member when splitting up multidrive requests since LUKSDevice instances cannot be shared between multiple devices.
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/autopart.py b/autopart.py
index bfc4e05aa..e279447dc 100644
--- a/autopart.py
+++ b/autopart.py
@@ -1434,6 +1434,7 @@ def doAutoPartition(anaconda):
for drive in req.drive:
r = copy.copy(req)
+ r.encryption = copy.deepcopy(req.encryption)
r.drive = [ drive ]
partitions.addRequest(r)
continue