public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamal Heib <kheib@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rdma-core] rawhide: Fix missing rdma kernel modules from installer initrd
Date: Mon, 10 Aug 2026 14:55:51 GMT [thread overview]
Message-ID: <178637375133.1.4620480231141258063.rpms-rdma-core-4350ef69bbd0@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-10 14:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178637375133.1.4620480231141258063.rpms-rdma-core-4350ef69bbd0@fedoraproject.org \
--to=kheib@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox