commit:     0b8bec3f106b5d49ac6aeefc426b16b1dda31d91
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 25 13:38:30 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 13:38:30 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0b8bec3f

linuxrc: Set USE_CRYPTSETUP=1 when crypt_{root,swap} is used

This will allow us to check only one variable later.

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 defaults/linuxrc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/defaults/linuxrc b/defaults/linuxrc
index 63df802..5d79a7c 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -244,9 +244,11 @@ do
                # Crypto
                crypt_root=*)
                        CRYPT_ROOT=${x#*=}
+                       USE_CRYPTSETUP=1
                ;;
                crypt_swap=*)
                        CRYPT_SWAP=${x#*=}
+                       USE_CRYPTSETUP=1
                ;;
                root_key=*)
                        CRYPT_ROOT_KEY=${x#*=}

Reply via email to