diff --git a/backport-0001-Title-Fix-error-while-burning-mcc-enabled.patch b/backport-0001-Title-Fix-error-while-burning-mcc-enabled.patch new file mode 100644 index 0000000000000000000000000000000000000000..46fe7f7f81a3a8249bcce2523fafa2de13b36ede --- /dev/null +++ b/backport-0001-Title-Fix-error-while-burning-mcc-enabled.patch @@ -0,0 +1,33 @@ +From e8d9ff786a04eb142ce6f3c8650ea975bbe595e2 Mon Sep 17 00:00:00 2001 +From: Samer Deeb +Date: Mon, 12 Nov 2018 20:39:36 +0000 +Subject: [PATCH] Title: Fix error while burning mcc enabled Description: + ignore HMAC calculation Issue: 1472385 + +Signed-off-by: Samer Deeb +--- + mlxfwops/lib/fs3_ops.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/mlxfwops/lib/fs3_ops.cpp b/mlxfwops/lib/fs3_ops.cpp +index deb4a05..b5a9d93 100644 +--- a/mlxfwops/lib/fs3_ops.cpp ++++ b/mlxfwops/lib/fs3_ops.cpp +@@ -3316,12 +3316,12 @@ bool Fs3Operations::AddHMACIfNeeded(Fs3Operations* imageOps, Flash *f) + } + } + +- return true; + #else + (void)imageOps; + (void)f; +- return errmsg("HMAC calculation is not implemented\n"); ++ //ignore + #endif ++ return true; + } + + bool Fs3Operations::DoAfterBurnJobs(const u_int32_t magic_patter[], +-- +2.21.0 + diff --git a/mstflint.spec b/mstflint.spec index 7405263b1d7c4df5f652dd4985d4fa4d0ded3a00..a6a9f4307eaaf01bfe0db93829fd0035a50e9a9c 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -1,13 +1,14 @@ Name: mstflint Summary: Firmware Burning and Diagnostics Tools Version: 4.10.0 -Release: 8 +Release: 9 License: GPLv2+ or BSD Url: https://github.com/Mellanox/mstflint Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz Patch0000: 0001-Fix-compile-errors.patch Patch0001: fix-return-local-addr.patch Patch0002: mstflint-4.10.0-sw.patch +Patch0003: backport-0001-Title-Fix-error-while-burning-mcc-enabled.patch BuildRequires: libstdc++-devel zlib-devel rdma-core-devel gcc-c++ gcc BuildRequires: libcurl-devel boost-devel libxml2-devel openssl-devel @@ -45,6 +46,9 @@ export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %{_mandir}/man1/* %changelog +* Thu Dec 29 2022 chenmaodong - 4.10.0-9 +- Fix error while burning mcc enabled Description + * Mon Oct 24 2022 wuzx - 4.10.0-8 - Add sw64 architecture