From 17400ffc9bfb898c1b8bc1d1396681e7a6ed658a Mon Sep 17 00:00:00 2001 From: Jiping Ma Date: Mon, 28 Feb 2022 05:34:51 +0000 Subject: [PATCH] Upgrade OFED driver version to 5.5-1.0.3.2 Copy the following packages to downloads folder, the ones are included in MLNX_OFED_SRC-5.5-1.0.3.2.tgz. mlnx-ofa_kernel-5.5-OFED.5.5.1.0.3.1.src.rpm rdma-core-55mlnx37-1.55103.src.rpm mlnx-tools-5.2.0-0.55103.src.rpm mstflint-4.16.0-1.55103.src.rpm Removed the original mlnx-ofa_kernel-5.3-OFED.5.3.1.0.0.1.src.rpm from rpms_3rdparties.lst, that added in commit e8d164e801e3fec796fa24b2eaf90f50726c38a(Prep: Upgrade kernel 5.10 related packages). Story: 2009878 Task: 44610 CentOs Test: - PASS: Run download_mirror.sh that can download all mlnx related packages. - PASS: Build image - PASS: Boot image Signed-off-by: Jiping Ma Change-Id: I67e058f9c9bdab31e87d46daf0dec3b353dc68a6 --- .../config/centos/distro/rpms_3rdparties.lst | 1 - centos-mirror-tools/dl_tarball.sh | 9 +++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/centos-mirror-tools/config/centos/distro/rpms_3rdparties.lst b/centos-mirror-tools/config/centos/distro/rpms_3rdparties.lst index c7d23876..fba16ff5 100644 --- a/centos-mirror-tools/config/centos/distro/rpms_3rdparties.lst +++ b/centos-mirror-tools/config/centos/distro/rpms_3rdparties.lst @@ -6,7 +6,6 @@ glib2-doc-2.56.1-7.el7.noarch.rpm#http://mirror.centos.org/centos/7/os/x86_64/Pa kernel-headers-4.18.0-147.3.1.el8_1.x86_64.rpm#http://mirror.centos.org/centos/8.1.1911/BaseOS/x86_64/os/Packages/kernel-headers-4.18.0-147.3.1.el8_1.x86_64.rpm libpng-1.5.13-8.el7.x86_64.rpm#http://mirror.centos.org/centos/7/os/x86_64/Packages/libpng-1.5.13-8.el7.x86_64.rpm libpng-devel-1.5.13-8.el7.x86_64.rpm#http://mirror.centos.org/centos/7/os/x86_64/Packages/libpng-devel-1.5.13-8.el7.x86_64.rpm -mlnx-ofa_kernel-5.3-OFED.5.3.1.0.0.1.src.rpm#https://linux.mellanox.com/public/repo/mlnx_ofed/5.3-1.0.0.1/SRPMS/mlnx-ofa_kernel-5.3-OFED.5.3.1.0.0.1.src.rpm python2-openstackdocstheme-1.23.2-1.el7.noarch.rpm#https://cbs.centos.org/kojifiles/packages/python-openstackdocstheme/1.23.2/1.el7/noarch/python2-openstackdocstheme-1.23.2-1.el7.noarch.rpm python2-pip-9.0.3-6.fc29.noarch.rpm#https://kojipkgs.fedoraproject.org/packages/python-pip/9.0.3/6.fc29/noarch/python2-pip-9.0.3-6.fc29.noarch.rpm python2-pytest-httpbin-0.2.3-6.el7.noarch.rpm#http://cbs.centos.org/kojifiles/packages/python-pytest-httpbin/0.2.3/6.el7/noarch/python2-pytest-httpbin-0.2.3-6.el7.noarch.rpm diff --git a/centos-mirror-tools/dl_tarball.sh b/centos-mirror-tools/dl_tarball.sh index 6543c4c4..a74490c1 100755 --- a/centos-mirror-tools/dl_tarball.sh +++ b/centos-mirror-tools/dl_tarball.sh @@ -330,7 +330,7 @@ for line in $(cat $tarball_file); do # We don't use it, but it will prevent re-downloading this file. # rm -f "${tarball_name}" - elif [[ "$tarball_name" = 'MLNX_OFED_SRC-5.0-2.1.8.0.tgz' ]]; then + elif [[ "$tarball_name" = 'MLNX_OFED_SRC-5.5-1.0.3.2.tgz' ]]; then srpm_path="${directory_name}/SRPMS/" download_package "$tarball_name" "$tarball_url" if [ $? -ne 0 ]; then @@ -340,9 +340,10 @@ for line in $(cat $tarball_file); do fi tar -xf "$tarball_name" - 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" . + cp "${srpm_path}/mlnx-ofa_kernel-5.5-OFED.5.5.1.0.3.1.src.rpm" . + cp "${srpm_path}/rdma-core-55mlnx37-1.55103.src.rpm" . + cp "${srpm_path}/mlnx-tools-5.2.0-0.55103.src.rpm" . + cp "${srpm_path}/mstflint-4.16.0-1.55103.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"