commit: 2f5a7fc596bdf919f41ddc5df063abf109af6758
Author: FlyingWaffle <flyingwaffle <AT> pm <DOT> me>
AuthorDate: Sat May 28 21:24:41 2022 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat May 28 21:24:41 2022 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=2f5a7fc5
Fixes a mistake with quotation usage when testing for LVM flag.
Signed-off-by: FlyingWaffle <flyingwaffle <AT> pm.me>
defaults/linuxrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/defaults/linuxrc b/defaults/linuxrc
index 9daad4a..2f94eb4 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -672,7 +672,7 @@ if [ "${CDROOT}" != '1' ]
then
if ( [ -n "${CRYPT_SWAP_KEY}" ] && [ -z "${CRYPT_SWAP_KEYDEV}" ] ) || \
( [ -n "${CRYPT_SWAP_HEADER}" ] && [ -z "${CRYPT_SWAP_HEADERDEV}" ]
) || \
- ( [ "${REAL_ROOT}" = "${REAL_RESUME}" ] || [ ${USE_LVM_NORMAL} -eq 1
] )
+ ( [ "${REAL_ROOT}" = "${REAL_RESUME}" ] || [ "${USE_LVM_NORMAL}" =
'1' ] )
then
# the swap key or header might be on the root fs so start it
first in this case
start_LUKS_root