guix/gnu
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
..
bootloader
build
home
installer
machine
packages gnu: uxn11: Enable tests. 2025-10-06 12:39:31 +08:00
services services: rottlog: Remove. 2025-09-30 21:58:38 +09:00
system mapped-devices/luks: Support extra options. 2025-10-06 10:21:16 +02:00
tests mapped-devices/luks: Support extra options. 2025-10-06 10:21:16 +02:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm
local.mk gnu: libspatialite: Fix build with libxml2 >= 2.14. 2025-10-04 11:22:29 +02:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm