mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
mapped-devices: luks: Specify modules needed at the top-level.
Fixes <https://issues.guix.gnu.org/70266>. * gnu/system/mapped-devices.scm (luks-device-mapping)[modules]: New field. (open-luks-device): Remove non-top-level ‘use-modules’ form. * gnu/system/linux-initrd.scm (raw-initrd): Remove modules that were added specifically for ‘luks-device-mapping’. Change-Id: I4253c3dd5e3cbcee41ec84fd57227abd428d1bd6
This commit is contained in:
parent
6062339156
commit
49f82fca41
2 changed files with 4 additions and 14 deletions
|
@ -252,13 +252,6 @@ upon error."
|
|||
(srfi srfi-1) ;for lvm-device-mapping
|
||||
(srfi srfi-26)
|
||||
|
||||
;; FIXME: The following modules are for
|
||||
;; LUKS-DEVICE-MAPPING. We should instead propagate
|
||||
;; this info via gexps.
|
||||
((gnu build file-systems)
|
||||
#:select (find-partition-by-luks-uuid))
|
||||
(rnrs bytevectors))
|
||||
|
||||
;; Load extra modules needed by the mapped device code.
|
||||
#$@(append-map (compose mapped-device-kind-modules
|
||||
mapped-device-type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue