mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
installer: Emit 'bootloader' field before 'swap-devices'.
* gnu/installer/parted.scm (user-partitions->configuration): Move 'bootloader' section above 'swap-devices'.
This commit is contained in:
parent
37099f5844
commit
54043bf23f
1 changed files with 2 additions and 2 deletions
|
@ -1270,10 +1270,10 @@ (define (user-partitions->configuration user-partitions)
|
||||||
(swap-devices (map user-partition-file-name swap-user-partitions))
|
(swap-devices (map user-partition-file-name swap-user-partitions))
|
||||||
(encrypted-partitions
|
(encrypted-partitions
|
||||||
(filter user-partition-crypt-label user-partitions)))
|
(filter user-partition-crypt-label user-partitions)))
|
||||||
`(,@(if (null? swap-devices)
|
`((bootloader ,@(bootloader-configuration user-partitions))
|
||||||
|
,@(if (null? swap-devices)
|
||||||
'()
|
'()
|
||||||
`((swap-devices (list ,@swap-devices))))
|
`((swap-devices (list ,@swap-devices))))
|
||||||
(bootloader ,@(bootloader-configuration user-partitions))
|
|
||||||
,@(if (null? encrypted-partitions)
|
,@(if (null? encrypted-partitions)
|
||||||
'()
|
'()
|
||||||
`((mapped-devices
|
`((mapped-devices
|
||||||
|
|
Loading…
Reference in a new issue