guix/gnu/build
Ludovic Courtès f7f292d359
install: Enable "cryptodisk" handling in GRUB.
This allows 'grub-install' to do the right thing when / or /boot is a
LUKS-encrypted partition.

Fixes <http://bugs.gnu.org/21843>.

* gnu/build/install.scm (install-grub): Add 'setenv' to set
'GRUB_ENABLE_CRYPTODISK'.
(wait-for-screen-text): New test.
* gnu/tests/base.scm (run-basic-test): Add #:initialization parameter
and honor it.
* gnu/tests/install.scm (%encrypted-root-os)[kernel-arguments]: Remove.
(%encrypted-root-installation-script): Pass '--uuid' to 'cryptsetup
luksFormat'.  Remove 'sed' invocation.
(enter-luks-passphrase): New procedure.
(%test-encrypted-os)[value]: Pass #:initialization to 'run-basic-test'.
2016-11-23 21:13:18 +01:00
..
activation.scm
file-systems.scm
install.scm install: Enable "cryptodisk" handling in GRUB. 2016-11-23 21:13:18 +01:00
linux-boot.scm
linux-container.scm
linux-initrd.scm
linux-modules.scm
marionette.scm install: Enable "cryptodisk" handling in GRUB. 2016-11-23 21:13:18 +01:00
svg.scm
vm.scm