1 |
commit: 0b8bec3f106b5d49ac6aeefc426b16b1dda31d91 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 25 13:38:30 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 25 13:38:30 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=0b8bec3f |
7 |
|
8 |
linuxrc: Set USE_CRYPTSETUP=1 when crypt_{root,swap} is used |
9 |
|
10 |
This will allow us to check only one variable later. |
11 |
|
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
defaults/linuxrc | 2 ++ |
15 |
1 file changed, 2 insertions(+) |
16 |
|
17 |
diff --git a/defaults/linuxrc b/defaults/linuxrc |
18 |
index 63df802..5d79a7c 100644 |
19 |
--- a/defaults/linuxrc |
20 |
+++ b/defaults/linuxrc |
21 |
@@ -244,9 +244,11 @@ do |
22 |
# Crypto |
23 |
crypt_root=*) |
24 |
CRYPT_ROOT=${x#*=} |
25 |
+ USE_CRYPTSETUP=1 |
26 |
;; |
27 |
crypt_swap=*) |
28 |
CRYPT_SWAP=${x#*=} |
29 |
+ USE_CRYPTSETUP=1 |
30 |
;; |
31 |
root_key=*) |
32 |
CRYPT_ROOT_KEY=${x#*=} |