guix/gnu/tests
Miguel Ángel Arruga Vivas f00e68ace0
system: Allow separated /boot and encrypted root.
* gnu/bootloader/grub.scm (grub-configuration-file): New parameter
store-crypto-devices.
[crypto-devices]: New helper function.
[builder]: Use crypto-devices.
* gnu/machine/ssh.scm (roll-back-managed-host): Use
boot-parameters-store-crypto-devices to provide its contents to the
bootloader configuration generation process.
* gnu/tests/install.scm (%encrypted-root-not-boot-os,
%encrypted-root-not-boot-os): New os declaration.
(%encrypted-root-not-boot-installation-script): New script, whose contents
were initially taken from %encrypted-root-installation-script.
(%test-encrypted-root-not-boot-os): New test.
* gnu/system.scm (define-module): Export
operating-system-bootoader-crypto-devices and
boot-parameters-store-crypto-devices.
(<boot-parameters>): Add field store-crypto-devices.
(read-boot-parameters): Parse store-crypto-devices field.
[uuid-sexp->uuid]: New helper function extracted from
device-sexp->device.
(operating-system-bootloader-crypto-devices): New function.
(operating-system-bootcfg): Use
operating-system-bootloader-crypto-devices to provide its contents to
the bootloader configuration generation process.
(operating-system-boot-parameters): Add store-crypto-devices to the
generated boot-parameters.
(operating-system-boot-parameters-file): Likewise to the file with
the serialized structure.
* guix/scripts/system.scm (reinstall-bootloader): Use
boot-parameters-store-crypto-devices to provide its contents to the
bootloader configuration generation process.
* tests/boot-parameters.scm (%default-store-crypto-devices): New
variable.
(%grub-boot-parameters, test-read-boot-parameters): Use
%default-store-crypto-devices.
(tests store-crypto-devices): New tests.
2020-12-21 18:41:11 +01:00
..
audio.scm tests: mpd: Remove race condition; use default MPD configuration. 2020-11-06 23:14:14 +01:00
base.scm tests: Fix nss-mdns test. 2020-10-26 16:33:39 +01:00
cups.scm
databases.scm services: MySQL: Add more tests. 2020-11-28 19:51:40 +01:00
desktop.scm
dict.scm
docker.scm tests: docker-system: Increase VM memory. 2020-11-06 16:16:02 +01:00
ganeti.scm
guix.scm services: databases: Don't specify a default postgresql version. 2020-10-20 22:39:43 +01:00
install.scm system: Allow separated /boot and encrypted root. 2020-12-21 18:41:11 +01:00
ldap.scm
linux-modules.scm
mail.scm services: Remove imports of (ice-9 …) modules. 2020-11-05 16:13:50 +01:00
messaging.scm
monitoring.scm services: databases: Don't specify a default postgresql version. 2020-10-20 22:39:43 +01:00
networking.scm
nfs.scm tests: nfs-root-fs: Use the right store file name. 2020-11-07 12:48:24 +01:00
package-management.scm
reconfigure.scm system: reconfigure: Use the disk-installer if provided. 2020-11-03 07:59:59 +01:00
rsync.scm
security-token.scm
singularity.scm
ssh.scm
version-control.scm tests: git-http: Avoid race condition. 2020-11-07 12:07:41 +01:00
virtualization.scm services: hurd-vm: Resurrect system-test by using raw disk-image. 2020-10-01 15:47:29 +02:00
web.scm services: databases: Don't specify a default postgresql version. 2020-10-20 22:39:43 +01:00