installer: parted: Use the swap-space record.
* gnu/installer/parted.scm (user-partitions->configuration): Use the swap-space record.master
parent
05c747ea6b
commit
d64b78ef0c
|
@ -1414,9 +1414,11 @@ USER-PARTITIONS, or return nothing."
|
||||||
(let* ((uuids (map (lambda (file)
|
(let* ((uuids (map (lambda (file)
|
||||||
(uuid->string (read-partition-uuid file)))
|
(uuid->string (read-partition-uuid file)))
|
||||||
swap-devices)))
|
swap-devices)))
|
||||||
`((swap-devices (list ,@(map (lambda (uuid)
|
`((swap-devices
|
||||||
`(uuid ,uuid))
|
(list ,@(map (lambda (uuid)
|
||||||
uuids))))))
|
`(swap-space
|
||||||
|
(target (uuid ,uuid))))
|
||||||
|
uuids))))))
|
||||||
,@(if (null? encrypted-partitions)
|
,@(if (null? encrypted-partitions)
|
||||||
'()
|
'()
|
||||||
`((mapped-devices
|
`((mapped-devices
|
||||||
|
|
Reference in New Issue