Merge "Upversion Mellanox driver to ver 5.0"

This commit is contained in:
Zuul 2020-07-21 16:19:51 +00:00 committed by Gerrit Code Review
commit ec05ee0dfb
1 changed files with 4 additions and 4 deletions

View File

@ -297,7 +297,7 @@ for line in $(cat $tarball_file); do
popd > /dev/null # pushd $output_tarball
continue
fi
elif [[ "$tarball_name" = 'MLNX_OFED_SRC-4.7-3.2.9.0.tgz' ]]; then
elif [[ "$tarball_name" = 'MLNX_OFED_SRC-5.0-2.1.8.0.tgz' ]]; then
srpm_path="${directory_name}/SRPMS/"
download_package "$tarball_name" "$tarball_url"
if [ $? -ne 0 ]; then
@ -307,9 +307,9 @@ for line in $(cat $tarball_file); do
fi
tar -xf "$tarball_name"
cp "${srpm_path}/mlnx-ofa_kernel-4.7-OFED.4.7.3.2.9.1.g457f064.src.rpm" .
cp "${srpm_path}/rdma-core-47mlnx1-1.47329.src.rpm" .
cp "${srpm_path}/libibverbs-41mlnx1-OFED.4.7.0.0.2.47329.src.rpm" .
cp "${srpm_path}/mlnx-ofa_kernel-5.0-OFED.5.0.2.1.8.1.g5f67178.src.rpm" .
cp "${srpm_path}/rdma-core-50mlnx1-1.50218.src.rpm" .
cp "${srpm_path}/libibverbs-41mlnx1-OFED.5.0.0.0.9.50218.src.rpm" .
# Don't delete the original MLNX_OFED_LINUX tarball.
# We don't use it, but it will prevent re-downloading this file.
# rm -f "$tarball_name"