diff options
author | Greg Rose <gvrose8192@gmail.com> | 2019-08-29 11:56:01 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-08-29 12:12:06 -0700 |
commit | 83d073f61cdd6fc4106ba4e6b70e5db59e72a7a8 (patch) | |
tree | 4f83afb8f4dfd45abeb840345406b198529abf2f | |
parent | 9fe98bff74f4c1e2f76aeff23bc7f628db825e6b (diff) | |
download | openvswitch-83d073f61cdd6fc4106ba4e6b70e5db59e72a7a8.tar.gz |
rhel: Fix ovs-kmod-manage.sh to work with RHEL 7.3
Add case for RHEL 7.3. This also fixes commit 22abff2 where I forgot to
update the comp_ver variable for RHEL 7.5 and while I was in there I
updated comp_ver for the RHEL 7.4 case as well.
Fixes: 22abff2 ("rhel: Add case for RHEL 7.5 major version to...")
Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
-rw-r--r-- | rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh index 245f3495b..e27c143e0 100644 --- a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh +++ b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh @@ -67,14 +67,19 @@ if [ "$mainline_major" = "3" ] && [ "$mainline_minor" = "10" ]; then comp_ver=36 ver_offset=4 installed_ver="$minor_rev" + elif [ "$major_rev" = "514" ]; then +# echo "rhel73" + comp_ver=26 + ver_offset=4 + installed_ver="$minor_rev" elif [ "$major_rev" = "693" ]; then # echo "rhel74" - comp_ver=11 + comp_ver=21 ver_offset=4 installed_ver="$minor_rev" elif [ "$major_rev" = "862" ]; then # echo "rhel75" - comp_ver=11 + comp_ver=20 ver_offset=4 installed_ver="$minor_rev" fi |