dracut/0007-revert-fix-rescue-make-rescue-always-no-hostonly.patch
Pavel Valena e68b4f0939 Upgrade to dracut 107
From-source-git-commit: e0d1d0707c4694219b6d44d417c4c4e6a0fdc94c

Resolves: RHEL-97473
2025-07-21 15:52:08 +02:00

31 lines
1.0 KiB
Diff

From ea8bbaac7b4e0d91acc2d1a192d87b3f328e5808 Mon Sep 17 00:00:00 2001
From: Pavel Valena <pvalena@redhat.com>
Date: Wed, 29 Jan 2025 20:25:03 +0100
Subject: [PATCH 07/16] revert: "fix(rescue): make rescue always no-hostonly"
This partly reverts commit 224c00914bfb4ba1dee48e094ebb137facfd5947.
Related: RHEL-65204
---
install.d/51-dracut-rescue.install | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/install.d/51-dracut-rescue.install b/install.d/51-dracut-rescue.install
index decee283..1be9b882 100755
--- a/install.d/51-dracut-rescue.install
+++ b/install.d/51-dracut-rescue.install
@@ -119,8 +119,8 @@ case "$COMMAND" in
if [[ ! -f "$BOOT_DIR_ABS/$INITRD" ]]; then
# shellcheck disable=SC2046
- dracut -f \
- --add-confdir rescue \
+ dracut -f --no-hostonly --no-uefi \
+ -a "rescue" \
$([[ $KERNEL_INSTALL_VERBOSE == 1 ]] && echo --verbose) \
--kver "$KERNEL_VERSION" \
"$BOOT_DIR_ABS/$INITRD"
--
2.50.1