summaryrefslogtreecommitdiff
path: root/rhel
diff options
context:
space:
mode:
authorGreg Rose <gvrose8192@gmail.com>2019-08-27 14:06:29 -0700
committerGurucharan Shetty <guru@ovn.org>2019-08-27 22:44:53 -0700
commit22abff20647ced3e3634e73b8388fa1abfb3a94a (patch)
tree1ca97e04c4fed02e49e8765945937fe94be02ca0 /rhel
parent9c74b574029bc474576da9a57a659356a47b7a7e (diff)
downloadopenvswitch-22abff20647ced3e3634e73b8388fa1abfb3a94a.tar.gz
rhel: Add case for RHEL 7.5 major version to kmod manage script
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>
Diffstat (limited to 'rhel')
-rw-r--r--rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
index 2cd8e5c80..51756ec0c 100644
--- a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
+++ b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
@@ -85,6 +85,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"
elif [ "$major_rev" = "957" ]; then
# echo "rhel76"
comp_ver=10