diff mbox series

[ovs-dev,branch-2.11] rhel: Add case for RHEL 7.5 major version to kmod manage script

Message ID 1567014088-9705-1-git-send-email-gvrose8192@gmail.com
State Accepted
Commit d4603ea143d6448527d10cfc143c1c3fa79d1144
Headers show
Series [ovs-dev,branch-2.11] rhel: Add case for RHEL 7.5 major version to kmod manage script | expand

Commit Message

Gregory Rose Aug. 28, 2019, 5:41 p.m. UTC
A Centos 7.5 kernel with an unencountered set of minor build numbers
caused an upgrade bug.  Adding the case for the rhel 7.5 kmod management
script fixes the problem.

Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
---
 rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh | 5 +++++
 1 file changed, 5 insertions(+)

Comments

0-day Robot Aug. 28, 2019, 5:59 p.m. UTC | #1
Bleep bloop.  Greetings Gregory Rose, I am a robot and I have tried out your patch.
Thanks for your contribution.

I encountered some error that I wasn't expecting.  See the details below.


checkpatch:
WARNING: Unexpected sign-offs from developers who are not authors or co-authors or committers: Gurucharan Shetty <guru@ovn.org>
Lines checked: 35, Warnings: 1, Errors: 0


Please check this out.  If you feel there has been an error, please email aconole@redhat.com

Thanks,
0-day Robot
diff mbox series

Patch

diff --git a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
index b5c4615..245f349 100644
--- a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
+++ b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
@@ -72,6 +72,11 @@  if [ "$mainline_major" = "3" ] && [ "$mainline_minor" = "10" ]; then
         comp_ver=11
         ver_offset=4
         installed_ver="$minor_rev"
+    elif [ "$major_rev" = "862" ]; then
+#        echo "rhel75"
+        comp_ver=11
+        ver_offset=4
+        installed_ver="$minor_rev"
     fi
 elif [ "$mainline_major" = "4" ] && [ "$mainline_minor" = "4" ]; then
     if [ "$mainline_patch" -ge "73" ]; then