guix/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
base.scm tests: Fix the gui installation tests. 2025-07-01 11:50:16 +02:00
cachefilesd.scm
ci.scm
containers.scm
cups.scm
databases.scm
desktop.scm
dict.scm
dns.scm
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
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
mcron.scm
messaging.scm
monitoring.scm
networking.scm services: Modernize and test nftables service. 2025-05-26 13:43:28 +09:00
nfs.scm
package-management.scm
pam.scm
reconfigure.scm
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
vnc.scm
vnstat.scm
web.scm