guix/gnu/system
45mg 73cbb94d1d
mapped-devices/luks: Support extra options.
Allow passing extra options to the 'cryptsetup open' command.

* gnu/system/mapped-devices.scm (luks-device-mapping-with-options):
[#:extra-options]: New argument.
(open-luks-device): Use it.
(check-luks-device): Validate it.
* doc/guix.texi (Mapped Devices): Document it.
* gnu/tests/install.scm (%test-encrypted-root-extra-options-os): New
test for it, as well as the previously untested #:allow-discards?
option.
(%encrypted-root-extra-options-os): New os declaration for the test.

Change-Id: I265a431efb0c81ed7cfc984344c6b8a4cc2f1624
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-10-06 10:21:16 +02:00
..
examples system: bare-bones: Remove Cuirass service. 2025-09-21 18:50:05 +02:00
images images: Add rock-4c-plus support. 2025-09-18 23:28:19 +02:00
accounts.scm system: Add /etc/subuid and /etc/subgid support. 2024-12-18 18:32:40 +01:00
file-systems.scm Reapply "Update Maxim's email address." 2025-09-18 13:44:12 +09:00
hurd.scm gnu: nss-certs: Relocate to (gnu packages nss). 2025-08-17 22:34:42 +02:00
image.scm image: Add support for btrfs. 2024-10-14 14:08:43 +02:00
install.scm system: Add u-boot-rock-4c-plus-rk3399. 2025-09-18 23:28:19 +02:00
keyboard.scm
linux-container.scm gnu: system: Replace deprecated dhcp client service. 2025-07-24 18:46:06 +02:00
linux-initrd.scm gnu: linux-initrd: Fix f2fs module dependencies 2025-09-29 12:56:30 +03:00
locale.scm locale: Upgrade ‘%default-locale-libcs’. 2025-07-18 20:17:51 +02:00
mapped-devices.scm mapped-devices/luks: Support extra options. 2025-10-06 10:21:16 +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 Reapply "Update Maxim's email address." 2025-09-18 13:44:12 +09:00
uuid.scm
vm.scm vm: Let ‘%immutable-store’ through. 2025-10-01 10:45:09 +02:00