From 3e4254f475f1628f582a9092df63de838c5432b6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 10 2022 07:17:14 +0000 Subject: import mstflint-4.18.0-1.el8 --- diff --git a/.gitignore b/.gitignore index c9d6308..d107491 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mstflint-4.17.0-1.tar.gz +SOURCES/mstflint-4.18.0-1.tar.gz diff --git a/.mstflint.metadata b/.mstflint.metadata index 13fbf57..0944a16 100644 --- a/.mstflint.metadata +++ b/.mstflint.metadata @@ -1 +1 @@ -15b85cd74758dfa485b5da52beb731079d36e2ae SOURCES/mstflint-4.17.0-1.tar.gz +62bda99ff2f53d36a44ab98ab10a78572ce7f0d2 SOURCES/mstflint-4.18.0-1.tar.gz diff --git a/SOURCES/add-default-link-flags-for-shared-libraries.patch b/SOURCES/add-default-link-flags-for-shared-libraries.patch index 968a6bc..f193256 100644 --- a/SOURCES/add-default-link-flags-for-shared-libraries.patch +++ b/SOURCES/add-default-link-flags-for-shared-libraries.patch @@ -1,8 +1,8 @@ diff --git a/cmdif/Makefile.am b/cmdif/Makefile.am -index 0d8f53b..d800302 100644 +index 9807603..b23bcb9 100644 --- a/cmdif/Makefile.am +++ b/cmdif/Makefile.am -@@ -50,7 +50,7 @@ libcmdif_a_SOURCES = tools_cif.c tools_cif.h icmd_cif_common.c icmd_cif_common.h +@@ -51,7 +51,7 @@ libcmdif_a_SOURCES = tools_cif.c tools_cif.h icmd_cif_common.c icmd_cif_common.h cmdif_pylibdir = $(libdir)/mstflint/python_tools/ cmdif_pylib_DATA = ${CCMDIF_SO} cmdif.py ${CCMDIF_SO}: libcmdif.a @@ -12,7 +12,7 @@ index 0d8f53b..d800302 100644 CLEANFILES = ${CCMDIF_SO} diff --git a/dev_mgt/Makefile.am b/dev_mgt/Makefile.am -index 3118b85..e708ad8 100644 +index 1fbd142..df5b14a 100644 --- a/dev_mgt/Makefile.am +++ b/dev_mgt/Makefile.am @@ -50,7 +50,7 @@ dev_mgt_pylib_DATA = c_dev_mgt.so dev_mgt.py @@ -25,10 +25,10 @@ index 3118b85..e708ad8 100644 -L$(USER_DIR)/tools_layouts -ltools_layouts \ -L$(USER_DIR)/${MTCR_CONF_DIR} -lmtcr_ul diff --git a/mtcr_py/Makefile.am b/mtcr_py/Makefile.am -index 351eb81..696e82a 100644 +index 934b803..c8af0c2 100644 --- a/mtcr_py/Makefile.am +++ b/mtcr_py/Makefile.am -@@ -39,7 +39,7 @@ MTCR_DIR = $(USER_DIR)/${MTCR_CONF_DIR} +@@ -40,7 +40,7 @@ MTCR_DIR = $(USER_DIR)/${MTCR_CONF_DIR} mtcr_pylib_DATA = cmtcr.so mtcr.py dist_mtcr_pylib_DATA = mtcr.py cmtcr.so: @@ -38,7 +38,7 @@ index 351eb81..696e82a 100644 CLEANFILES = cmtcr.so diff --git a/reg_access/Makefile.am b/reg_access/Makefile.am -index f28290e..a141704 100644 +index 26f6a5a..9a42c37 100644 --- a/reg_access/Makefile.am +++ b/reg_access/Makefile.am @@ -53,7 +53,7 @@ reg_access_pylib_DATA = ${RREG_ACCESS_SO} regaccess.py diff --git a/SOURCES/replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch b/SOURCES/replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch index a547e35..d24ef01 100644 --- a/SOURCES/replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch +++ b/SOURCES/replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch @@ -1,8 +1,8 @@ diff --git a/flint/subcommands.cpp b/flint/subcommands.cpp -index b47ff0a..d3a6561 100644 +index 420b82f..0a20bcd 100644 --- a/flint/subcommands.cpp +++ b/flint/subcommands.cpp -@@ -4626,7 +4626,7 @@ FlintStatus SgSubCommand::sgFs2() +@@ -4484,7 +4484,7 @@ FlintStatus SgSubCommand::sgFs2() return FLINT_SUCCESS; } @@ -12,11 +12,11 @@ index b47ff0a..d3a6561 100644 FlintStatus SgSubCommand::sgFs3() { diff --git a/mlxfwops/lib/flint_base.h b/mlxfwops/lib/flint_base.h -index 603d932..4dc12b8 100644 +index f3edc43..a85e43d 100644 --- a/mlxfwops/lib/flint_base.h +++ b/mlxfwops/lib/flint_base.h -@@ -388,7 +388,7 @@ struct BOARD_ID { - #define TRACER_HASH_SECT "Tracer Hash section" +@@ -364,7 +364,7 @@ struct GPH { + #define REBOOT_REQUIRED_STR "To load new FW run reboot machine." #ifndef MST_UL -#define REBOOT_OR_FWRESET_REQUIRED_STR "To load new FW run mlxfwreset or reboot machine." diff --git a/SPECS/mstflint.spec b/SPECS/mstflint.spec index 7b08676..a291bb4 100644 --- a/SPECS/mstflint.spec +++ b/SPECS/mstflint.spec @@ -2,11 +2,11 @@ Name: mstflint Summary: Mellanox firmware burning tool -Version: 4.17.0 +Version: 4.18.0 Release: 1%{?dist} License: GPLv2+ or BSD Group: Applications/System -Source: https://github.com/Mellanox/mstflint/releases/download/v4.17.0-1/mstflint-4.17.0-1.tar.gz +Source: https://github.com/Mellanox/mstflint/releases/download/v4.18.0-1/mstflint-4.18.0-1.tar.gz Patch4: add-default-link-flags-for-shared-libraries.patch Patch6: replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch Url: https://github.com/Mellanox/mstflint @@ -25,7 +25,7 @@ This package contains firmware update tool, vpd dump and register dump tools for network adapters based on Mellanox Technologies chips. %prep -%setup -q -n mstflint-4.17.0 +%setup -q -n mstflint-4.18.0 %patch4 -p1 %patch6 -p1 find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' @@ -55,6 +55,10 @@ find %{buildroot} -type f -name '*.a' -delete %{_mandir}/man1/* %changelog +* Sun Dec 05 2021 Honggang Li - 4.18.0-1 +- Rebase mstflint to latest upstream release v4.18.0-1 +- Resolves: rhbz#1982202 + * Thu Jul 01 2021 Honggang Li - 4.17.0-1 - Rebase mstflint to latest upstream release v4.17.0-1 - Resolves: bz1915313