-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dracut: add fix for initrd not showing prompt when root device is loc…
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
SPECS/dracut/0013-revert-fix-crypt-unlock-encrypted-devices-by-default.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
See issue: https://github.com/dracut-ng/dracut-ng/issues/492 | ||
|
||
This reverts commit 2339acfaeee60d6bb26a1103db2e53bc8f9cb2d1 | ||
|
||
Signed-off by: Thien Trung Vuong <[email protected]> | ||
--- | ||
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 9567a4a9..e46e347a 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 0 rd.auto; then | ||
if [ -z "$DRACUT_SYSTEMD" ]; then | ||
{ | ||
printf -- 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="%s ' "$(command -v initqueue)" | ||
-- | ||
2.42.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
Summary: dracut to create initramfs | ||
Name: dracut | ||
Version: 102 | ||
Release: 1%{?dist} | ||
Release: 2%{?dist} | ||
# The entire source code is GPLv2+ | ||
# except install/* which is LGPLv2+ | ||
License: GPLv2+ AND LGPLv2+ | ||
|
@@ -34,6 +34,7 @@ Patch: 0006-dracut.sh-validate-instmods-calls.patch | |
Patch: 0007-feat-dracut.sh-support-multiple-config-dirs.patch | ||
Patch: 0011-Remove-reference-to-kernel-module-zlib-in-fips-module.patch | ||
Patch: 0012-fix-dracut-functions-avoid-awk-in-get_maj_min.patch | ||
Patch: 0013-revert-fix-crypt-unlock-encrypted-devices-by-default.patch | ||
|
||
BuildRequires: bash | ||
BuildRequires: kmod-devel | ||
|
@@ -276,6 +277,9 @@ ln -srv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name} | |
%dir %{_sharedstatedir}/%{name}/overlay | ||
|
||
%changelog | ||
* Tue Aug 06 2024 Thien Trung Vuong <[email protected]> - 102-2 | ||
- Add fix for initrd not showing prompt when root device is locked | ||
|
||
* Tue Jun 25 2024 Cameron Baird <[email protected]> - 102-1 | ||
- Update to 102 | ||
|
||
|