guix-mirrors/gnu/system
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
..
examples system: examples: devel-hurd64: Remove new Linux-specific dependency. 2025-07-17 21:22:10 +02:00
images images: visionfive2: Add support for booting from nvme. 2025-04-08 14:58:19 +08:00
accounts.scm system: Add /etc/subuid and /etc/subgid support. 2024-12-18 18:32:40 +01:00
file-systems.scm Revert "file-systems: %base-file-systems: Add tmpfs /run." 2025-03-05 14:45:15 +08:00
hurd.scm system: Add zstd to ‘%base-packages/hurd’. 2025-06-20 17:59:02 +02:00
image.scm image: Add support for btrfs. 2024-10-14 14:08:43 +02:00
install.scm install: Adjust for (package-source guix) not being a <channel>. 2025-06-04 16:45:08 +02:00
keyboard.scm
linux-container.scm gnu: Add %dummy-linux-kernel-for-container. 2025-06-28 22:50:50 +08:00
linux-initrd.scm mapped-devices: Add ‘arguments’ field. 2025-07-18 00:57:25 +02:00
locale.scm system: locale: ‘glibc-supported-locales’ uses zstd instead of xz. 2024-09-09 17:17:55 +02:00
mapped-devices.scm mapped-devices: luks: Adjust to support extra arguments. 2025-07-18 00:57:31 +02:00
nss.scm
pam.scm system: pam: Export pam records predicates. 2024-12-18 18:32:40 +01:00
privilege.scm privilege: Add file-like->setuid-program helper. 2024-09-08 02:00:00 +02:00
setuid.scm privilege: Add file-like->setuid-program helper. 2024-09-08 02:00:00 +02:00
shadow.scm system: skeleton-directory: Create parent directory for target. 2025-06-27 00:42:15 +08:00
uuid.scm uuid: Add support for exFAT. 2024-09-01 02:00:00 +02:00
vm.scm vm: Account for an upstream change in the name of the Cirrus kernel module. 2025-04-27 02:29:41 -04:00