public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rdma-core] rawhide: Fix missing rdma kernel modules from installer initrd
@ 2026-08-10 14:55 Kamal Heib
  0 siblings, 0 replies; only message in thread
From: Kamal Heib @ 2026-08-10 14:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rdma-core
            Branch : rawhide
            Commit : 4350ef69bbd000b7317e9c4b0b75c5d0515e2519
            Author : Kamal Heib <kheib@redhat.com>
            Date   : 2026-08-10T08:20:39-04:00
            Stats  : +29/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rdma-core/c/4350ef69bbd000b7317e9c4b0b75c5d0515e2519?branch=rawhide

            Log:
            Fix missing rdma kernel modules from installer initrd

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.

Signed-off-by: Kamal Heib <kheib@redhat.com>

---
diff --git a/0001-Revert-dracut-do-not-install-dracut-module-in-non-ho.patch b/0001-Revert-dracut-do-not-install-dracut-module-in-non-ho.patch
new file mode 100644
index 0000000..4b691c4
--- /dev/null
+++ b/0001-Revert-dracut-do-not-install-dracut-module-in-non-ho.patch
@@ -0,0 +1,27 @@
+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
+

diff --git a/rdma-core.spec b/rdma-core.spec
index 69eaa27..88adde1 100644
--- a/rdma-core.spec
+++ b/rdma-core.spec
@@ -10,6 +10,7 @@ Summary: RDMA core userspace libraries and daemons
 License: GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
 Url: https://github.com/linux-rdma/rdma-core
 Source: https://github.com/linux-rdma/rdma-core/releases/download/v%{version}/%{name}-%{version}.tar.gz
+Patch0001: 0001-Revert-dracut-do-not-install-dracut-module-in-non-ho.patch
 Patch9998: 9998-kernel-boot-Do-not-perform-device-rename-on-OPA-devi.patch
 Patch9999: 9999-udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch
 # Do not build static libs by default.
@@ -303,6 +304,7 @@ easy, object-oriented access to IB verbs.
 
 %prep
 %setup -q
+%patch 0001 -p1
 %if 0%{?fedora}
 %patch 9998 -p1
 %endif

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10 14:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 14:55 [rpms/rdma-core] rawhide: Fix missing rdma kernel modules from installer initrd Kamal Heib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox