52fb8f6eda
From-source-git-commit: 56bf1917de004cd3f9032a68a6cd09d5bd972b04 Additional fixes: - support for erofs in squash modules - always include the resume module - include systemd config files from /usr/lib/systemd - only return block devices from get_persistent_dev - allow for \ in get_maj_min file path - install blk modules using symbol blk_alloc_disk Resolves: RHEL-32237,RHEL-32506,RHEL-43460,RHEL-47145,RHEL-49744,RHEL-53350
26 lines
898 B
Diff
26 lines
898 B
Diff
From 6cb58e86ae65cf9922023b12e889446323a89080 Mon Sep 17 00:00:00 2001
|
|
From: Laszlo Gombos <laszlo.gombos@gmail.com>
|
|
Date: Sat, 15 Jun 2024 15:21:44 -0400
|
|
Subject: [PATCH 06/24] fix(crypt): decryption when rd.luks.name is set
|
|
|
|
---
|
|
modules.d/90crypt/parse-crypt.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/modules.d/90crypt/parse-crypt.sh b/modules.d/90crypt/parse-crypt.sh
|
|
index 39fc6d21..9567a4a9 100755
|
|
--- a/modules.d/90crypt/parse-crypt.sh
|
|
+++ b/modules.d/90crypt/parse-crypt.sh
|
|
@@ -174,7 +174,7 @@ else
|
|
} >> "$hookdir/emergency/90-crypt.sh"
|
|
fi
|
|
done
|
|
- elif getargbool 1 rd.auto; then
|
|
+ elif getargbool 1 rd.auto && [ -z "$(getargs rd.luks.name)" ]; then
|
|
if [ -z "$DRACUT_SYSTEMD" ]; then
|
|
{
|
|
printf -- 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="%s ' "$(command -v initqueue)"
|
|
--
|
|
2.42.0
|
|
|