Revert upstream dracut non-hostonly check to fix missing rdma modules in installer initrd Upstream commit 85afa2bc9214 changed the dracut 50rdma module to return 255 (skip) in non-hostonly mode, which prevents rdma kernel modules from being included in the installer initrd. Revert this change so the module returns 0 (include) in non-hostonly mode, ensuring rdma modules are available during installation. Resolves: RHEL-227898 Signed-off-by: Kamal Heib <kheib@redhat.com>
28 lines
842 B
Diff
28 lines
842 B
Diff
From c685d42987f92790772dd81806ff7d233d3e69ae Mon Sep 17 00:00:00 2001
|
|
From: Kamal Heib <kheib@redhat.com>
|
|
Date: Wed, 5 Aug 2026 11:54:44 -0400
|
|
Subject: [PATCH] Revert "dracut: do not install dracut module in non-hostonly
|
|
by default"
|
|
|
|
This reverts commit 85afa2bc9214dbc7f0921066099fa1d63dff2370.
|
|
---
|
|
kernel-boot/dracut/50rdma/module-setup.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/kernel-boot/dracut/50rdma/module-setup.sh b/kernel-boot/dracut/50rdma/module-setup.sh
|
|
index e4929e9a1225..09162062060a 100644
|
|
--- a/kernel-boot/dracut/50rdma/module-setup.sh
|
|
+++ b/kernel-boot/dracut/50rdma/module-setup.sh
|
|
@@ -3,7 +3,7 @@
|
|
check() {
|
|
[ -n "$hostonly" ] && [ -e /sys/class/infiniband_verbs/uverbs0 ] && return 0
|
|
[ -n "$hostonly" ] && return 255
|
|
- return 255
|
|
+ return 0
|
|
}
|
|
|
|
depends() {
|
|
--
|
|
2.55.0
|
|
|