[ovs-dev] [PATCH branch-2.11] rhel: Add case for RHEL 7.5 major version to kmod manage script
Greg Rose
gvrose8192 at gmail.com
Wed Aug 28 17:41:28 UTC 2019
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 at gmail.com>
Reviewed-by: Yifeng Sun <pkusunyifeng at gmail.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>
---
rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh | 5 +++++
1 file changed, 5 insertions(+)
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
--
1.8.3.1
More information about the dev
mailing list