diff --git a/bugfix-remove-error-msg-when-boot-rdma.patch b/bugfix-remove-error-msg-when-boot-rdma.patch new file mode 100644 index 0000000000000000000000000000000000000000..1d1b1e9e5bd85ccdab9fc4df1864d1ba3e56e982 --- /dev/null +++ b/bugfix-remove-error-msg-when-boot-rdma.patch @@ -0,0 +1,45 @@ +From 212a93230bb0c6b730c9482844619ca72e3a51ce Mon Sep 17 00:00:00 2001 +From: kircher +Date: Sat, 13 Mar 2021 17:27:56 +0800 +Subject: [PATCH] base + +--- + redhat/rdma.kernel-init | 16 ++++++++-------- + 1 file changed, 8 insertions(+), 8 deletions(-) + +diff --git a/redhat/rdma.kernel-init b/redhat/rdma.kernel-init +index c7444a1..b06c86a 100644 +--- a/redhat/rdma.kernel-init ++++ b/redhat/rdma.kernel-init +@@ -210,20 +210,20 @@ errata_56() + } + + +-load_hardware_modules ++load_hardware_modules >/dev/null 2>&1 + RC=$[ $RC + $? ] +-load_modules $LOAD_CORE_MODULES ++load_modules $LOAD_CORE_MODULES >/dev/null 2>&1 + RC=$[ $RC + $? ] +-load_modules $LOAD_CORE_CM_MODULES ++load_modules $LOAD_CORE_CM_MODULES >/dev/null 2>&1 + RC=$[ $RC + $? ] +-load_modules $LOAD_CORE_USER_MODULES ++load_modules $LOAD_CORE_USER_MODULES >/dev/null 2>&1 + RC=$[ $RC + $? ] +-load_modules $LOAD_ULP_MODULES ++load_modules $LOAD_ULP_MODULES >/dev/null 2>&1 + RC=$[ $RC + $? ] + +-errata_58 +-errata_56 ++errata_58 >/dev/null 2>&1 ++errata_56 >/dev/null 2>&1 + +-/usr/libexec/rdma-set-sriov-vf ++/usr/libexec/rdma-set-sriov-vf >/dev/null 2>&1 + + exit $RC +-- +1.8.3.1 + diff --git a/rdma-core.spec b/rdma-core.spec index 82cf994793f72ab0c5bed4b12dba09072d27ccc5..35b6433aeb9f768b0c8f74fec904d1a876a84e61 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,6 +1,6 @@ Name: rdma-core Version: 28.1 -Release: 2 +Release: 3 Summary: RDMA core userspace libraries and daemons License: GPLv2 or BSD Url: https://github.com/linux-rdma/rdma-core @@ -48,6 +48,8 @@ Obsoletes: openib-srptools <= 0.0.6 Conflicts: infiniband-diags <= 1.6.7 +Patch9001: bugfix-remove-error-msg-when-boot-rdma.patch + %{?systemd_requires} %define CMAKE_FLAGS -GNinja @@ -254,6 +256,12 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh %{_mandir}/* %changelog +* Sat Mar 13 2020 majun - 28.1-3 +- Type: bugfix +- ID: NA +- SUG: NA +- DESC: remove boot error + * Mon Apr 20 2020 majun - 28.1-2 - Type: bugfix - ID: NA