Fix error while burning mcc enabled Description
Signed-off-by: chenmaodong <chenmaodong@xfusion.com>
This commit is contained in:
parent
dd5b200c09
commit
c6be56206e
@ -0,0 +1,33 @@
|
|||||||
|
From e8d9ff786a04eb142ce6f3c8650ea975bbe595e2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Samer Deeb <samerd@mellanox.com>
|
||||||
|
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 <samerd@mellanox.com>
|
||||||
|
---
|
||||||
|
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
|
||||||
|
|
||||||
@ -1,13 +1,13 @@
|
|||||||
Name: mstflint
|
Name: mstflint
|
||||||
Summary: Firmware Burning and Diagnostics Tools
|
Summary: Firmware Burning and Diagnostics Tools
|
||||||
Version: 4.10.0
|
Version: 4.10.0
|
||||||
Release: 8
|
Release: 9
|
||||||
License: GPLv2+ or BSD
|
License: GPLv2+ or BSD
|
||||||
Url: https://github.com/Mellanox/mstflint
|
Url: https://github.com/Mellanox/mstflint
|
||||||
Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz
|
Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz
|
||||||
Patch0000: 0001-Fix-compile-errors.patch
|
Patch0000: 0001-Fix-compile-errors.patch
|
||||||
Patch0001: fix-return-local-addr.patch
|
Patch0001: fix-return-local-addr.patch
|
||||||
|
Patch0002: backport-0001-Title-Fix-error-while-burning-mcc-enabled.patch
|
||||||
BuildRequires: libstdc++-devel zlib-devel rdma-core-devel gcc-c++ gcc
|
BuildRequires: libstdc++-devel zlib-devel rdma-core-devel gcc-c++ gcc
|
||||||
BuildRequires: libcurl-devel boost-devel libxml2-devel openssl-devel
|
BuildRequires: libcurl-devel boost-devel libxml2-devel openssl-devel
|
||||||
Obsoletes: openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0
|
Obsoletes: openib-mstflint <= 1.4 openib-tvflash <= 0.9.2 tvflash <= 0.9.0
|
||||||
@ -44,7 +44,10 @@ strip %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Sep 10 2021 Pengju Jiang <jiangpengju2@huawei.com>
|
* Thu Dec 29 2022 chenmaodong <chenmaodong@xfusion.com> - 4.10.0-9
|
||||||
|
- Fix error while burning mcc enabled Description
|
||||||
|
|
||||||
|
* Fri Sep 10 2021 Pengju Jiang <jiangpengju2@huawei.com> - 4.10.0-8
|
||||||
- solve the strip problem of dark conversion compilation
|
- solve the strip problem of dark conversion compilation
|
||||||
|
|
||||||
* Tue Aug 4 2021 shdluan@163.com <shdluan@163.com> - 4.10.0-7
|
* Tue Aug 4 2021 shdluan@163.com <shdluan@163.com> - 4.10.0-7
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user