diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-11-23 20:59:13 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-11-23 21:13:18 +0100 |
commit | f7f292d359e0eb77617f4ecf6b3164f868ec1784 (patch) | |
tree | c4f5d686c138d6e1bf343a40d3eafc4ffd734be6 /tests/utils.scm | |
parent | b7d408ec1b591853b4a2fc209e577d60b147e03b (diff) | |
download | guix-f7f292d359e0eb77617f4ecf6b3164f868ec1784.tar.gz guix-f7f292d359e0eb77617f4ecf6b3164f868ec1784.zip |
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'.
Diffstat (limited to 'tests/utils.scm')
0 files changed, 0 insertions, 0 deletions