aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer/parted.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/installer/parted.scm')
-rw-r--r--gnu/installer/parted.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/installer/parted.scm b/gnu/installer/parted.scm
index ad7dd6bf91..289cd660fd 100644
--- a/gnu/installer/parted.scm
+++ b/gnu/installer/parted.scm
@@ -1418,9 +1418,11 @@ USER-PARTITIONS, or return nothing."
(let* ((uuids (map (lambda (file)
(uuid->string (read-partition-uuid file)))
swap-devices)))
- `((swap-devices (list ,@(map (lambda (uuid)
- `(uuid ,uuid))
- uuids))))))
+ `((swap-devices
+ (list ,@(map (lambda (uuid)
+ `(swap-space
+ (target (uuid ,uuid))))
+ uuids))))))
,@(if (null? encrypted-partitions)
'()
`((mapped-devices