guix-mirrors/gnu
Ludovic Courtès 14c8728f0d
mapped-devices: luks: Adjust to support extra arguments.
Fixes <https://issues.guix.gnu.org/70826>.

When using ‘luks-device-mapping-with-options’, procedures such as
‘operating-system-boot-mapped-devices’ would fail to identify LUKS
mapped devices because they would check whether the mapped device type
is ‘eq?’ to ‘luks-device-mapping’.

This addresses that by ensuring mapped devices are always of the
‘luks-device-mapping’ type, even when different options are used.

* gnu/system/mapped-devices.scm (close-luks-device): Add #:rest.
(luks-device-mapping-with-options): Deprecate.
* gnu/tests/install.scm (%encrypted-home-os-key-file): Update
accordingly.
* doc/guix.texi (Mapped Devices): Document use of the ‘arguments’ field
of ‘luks-device-mapping’.  Remove ‘luks-device-mapping-with-options’
documentation.
(Bootloader Configuration): Update example with key file in extra
initrd.

Change-Id: I5442908cb8ef4e3891dbb053cccf5e42b895486f
Reported-by: Tadhg McDonald-Jensen <tadhgmister@gmail.com>
2025-07-18 00:57:31 +02:00
..
bootloader
build linux-container: Fix typo in docstring. 2025-07-12 12:58:32 +02:00
home
installer gnu: installer: Remove enlightenment desktop option. 2025-06-30 11:41:56 +03:00
machine machine: hetzner: Fix machine bootstrap. 2025-06-26 20:43:55 +08:00
packages gnu: ardour: Update to 8.12. 2025-07-17 22:27:50 +02:00
services services: greetd: Support initial-session. 2025-07-12 02:39:54 +02:00
system mapped-devices: luks: Adjust to support extra arguments. 2025-07-18 00:57:31 +02:00
tests mapped-devices: luks: Adjust to support extra arguments. 2025-07-18 00:57:31 +02:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm
local.mk gnu: hdf5: Do not propagate libaec and zlib dependencies. 2025-07-17 16:41:28 +02:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm