guix-mirrors/gnu/tests
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
..
data
audio.scm
avahi.scm tests: Move Avahi test to its own file. 2025-03-10 15:41:33 +01:00
base.scm tests: Fix the gui installation tests. 2025-07-01 11:50:16 +02:00
cachefilesd.scm
ci.scm
containers.scm services: rootless-podman: Enable I/O delegation. 2025-01-11 23:36:58 +01:00
cups.scm
databases.scm services: postgresql-role: Add support for password files. 2025-05-02 15:32:25 +09:00
desktop.scm tests: elogind: Adjust expected output for new version. 2025-04-25 10:42:16 +09:00
dict.scm
dns.scm services: dns: Add unbound service. 2025-01-11 23:36:58 +01:00
docker.scm
emacs.scm
file-sharing.scm
foreign.scm tests: foreign: Add ‘archlinux-install’ test. 2025-07-18 00:43:51 +02:00
ganeti.scm tests: ganeti: Increase VM memory size. 2025-03-23 19:30:32 +01:00
gdm.scm
guix.scm
image.scm
install.scm mapped-devices: luks: Adjust to support extra arguments. 2025-07-18 00:57:31 +02:00
ldap.scm
lightdm.scm
linux-modules.scm
mail.scm tests: dovecot: Add sieve. 2025-02-25 10:57:51 +00:00
mcron.scm tests: Move mcron test to its own file. 2025-03-10 15:41:33 +01:00
messaging.scm tests: Fix failing 'guix-system-tests' derivation during 'guix pull'. 2025-04-22 14:09:40 +09:00
monitoring.scm
networking.scm services: Modernize and test nftables service. 2025-05-26 13:43:28 +09:00
nfs.scm gnu: Adjust tests for ‘shepherd-system-log-service-type’. 2025-03-10 00:38:05 +01:00
package-management.scm
pam.scm
reconfigure.scm gnu: Adjust tests for ‘shepherd-system-log-service-type’. 2025-03-10 00:38:05 +01:00
rsync.scm
samba.scm
sddm.scm
security-token.scm
security.scm
shadow.scm
singularity.scm
ssh.scm
telephony.scm
upnp.scm home: services: Add readymedia. 2025-05-18 22:55:54 +02:00
version-control.scm
virtualization.scm services: libvirt: Add UEFI firmware support. 2025-03-27 21:21:06 +09:00
vnc.scm
vnstat.scm
web.scm tests: web: Add nginx+anonip test. 2025-02-13 00:07:21 +09:00